Package weka.gui.treevisualizer
Class TreeDisplayEvent
java.lang.Object
weka.gui.treevisualizer.TreeDisplayEvent
An event containing the user selection from the tree display
- Version:
- $Revision: 8034 $
- Author:
- Malcolm Ware (mfw4@cs.waikato.ac.nz)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
States that the user has accepted the tree.static final int
static final int
Asks for another learning scheme to classify this node.static final int
static final int
static final int
Command to remove instances from this node and send them to the VisualizePanel. -
Constructor Summary
ConstructorDescriptionTreeDisplayEvent
(int ar, String id) Constructs an event with the specified command and what the command is applied to. -
Method Summary
-
Field Details
-
NO_COMMAND
public static final int NO_COMMAND- See Also:
-
ADD_CHILDREN
public static final int ADD_CHILDREN- See Also:
-
REMOVE_CHILDREN
public static final int REMOVE_CHILDREN- See Also:
-
ACCEPT
public static final int ACCEPTStates that the user has accepted the tree.- See Also:
-
CLASSIFY_CHILD
public static final int CLASSIFY_CHILDAsks for another learning scheme to classify this node.- See Also:
-
SEND_INSTANCES
public static final int SEND_INSTANCESCommand to remove instances from this node and send them to the VisualizePanel.- See Also:
-
-
Constructor Details
-
TreeDisplayEvent
Constructs an event with the specified command and what the command is applied to.- Parameters:
ar
- The event type.id
- The id string for the node to perform the action on.
-
-
Method Details
-
getCommand
public int getCommand()- Returns:
- The command.
-
getID
- Returns:
- The id of the node.
-