org.freehep.jas.plugin.tree
Class FTreeNodeSelectionNotification
java.lang.Object
java.util.EventObject
org.freehep.jas.plugin.tree.FTreeNodeSelectionNotification
- All Implemented Interfaces:
- Serializable
public class FTreeNodeSelectionNotification
- extends EventObject
The event to be sent to the FTree when a node is selected.
- Author:
- The FreeHEP team @ SLAC.
- See Also:
- Serialized Form
Method Summary |
protected String |
nodeName()
Get the name of the FTreeNode to which this event is
referring to. |
protected FTreePath |
nodePath()
Get the FTreePath of the FTreeNode to which this
event is referring to. |
NODE_SELECTED
public static final int NODE_SELECTED
- See Also:
- Constant Field Values
NODE_UNSELECTED
public static final int NODE_UNSELECTED
- See Also:
- Constant Field Values
FTreeNodeSelectionNotification
public FTreeNodeSelectionNotification(Object source,
FTreePath path,
int state)
nodePath
protected FTreePath nodePath()
- Get the FTreePath of the FTreeNode to which this
event is referring to.
- Returns:
- The FTreePath of the corresponding node
nodeName
protected String nodeName()
- Get the name of the FTreeNode to which this event is
referring to.
- Returns:
- The name of the node.
Copyright © 2013. All Rights Reserved.