All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.gui.treevisualizer.TreeDisplayEvent

java.lang.Object
    |
    +----weka.gui.treevisualizer.TreeDisplayEvent

public class TreeDisplayEvent
extends java.lang.Object
An event containing the user selection from the tree display

Version:
$Revision: 1.3 $
Author:
Malcolm Ware (mfw4@cs.waikato.ac.nz)

Variable Index

 o ACCEPT
States that the user has accepted the tree.
 o ADD_CHILDREN
 
 o CLASSIFY_CHILD
Asks for another learning scheme to classify this node.
 o NO_COMMAND
 
 o REMOVE_CHILDREN
 
 o SEND_INSTANCES
Command to remove instances from this node and send them to the VisualizePanel.

Constructor Index

 o TreeDisplayEvent(int, String)
Constructs an event with the specified command and what the command is applied to.

Method Index

 o getCommand()
 
 o getID()
 

Field Detail

 o NO_COMMAND
public static final int NO_COMMAND
 o ADD_CHILDREN
public static final int ADD_CHILDREN
 o REMOVE_CHILDREN
public static final int REMOVE_CHILDREN
 o ACCEPT
public static final int ACCEPT
          States that the user has accepted the tree.
 o CLASSIFY_CHILD
public static final int CLASSIFY_CHILD
          Asks for another learning scheme to classify this node.
 o SEND_INSTANCES
public static final int SEND_INSTANCES
          Command to remove instances from this node and send them to the VisualizePanel.

Constructor Detail

 o TreeDisplayEvent
public TreeDisplayEvent(int ar,
                        java.lang.String id)
          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 Detail

 o getCommand
public int getCommand()
Returns:
The command.
 o getID
public java.lang.String getID()
Returns:
The id of the node.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home