public class TreeDisplayEvent extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPT
States that the user has accepted the tree.
|
static int |
ADD_CHILDREN |
static int |
CLASSIFY_CHILD
Asks for another learning scheme to classify this node.
|
static int |
NO_COMMAND |
static int |
REMOVE_CHILDREN |
static int |
SEND_INSTANCES
Command to remove instances from this node and send them to the
VisualizePanel.
|
Constructor and Description |
---|
TreeDisplayEvent(int ar,
String id)
Constructs an event with the specified command
and what the command is applied to.
|
public static final int NO_COMMAND
public static final int ADD_CHILDREN
public static final int REMOVE_CHILDREN
public static final int ACCEPT
public static final int CLASSIFY_CHILD
public static final int SEND_INSTANCES
public TreeDisplayEvent(int ar, String id)
ar
- The event type.id
- The id string for the node to perform the action on.public int getCommand()
public String getID()
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.