java.lang.Object
java.util.EventObject
java.awt.AWTEvent
java.awt.event.ActionEvent
com.flexstor.common.awt.tree.TreeActionEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class TreeActionEvent
- extends java.awt.event.ActionEvent
Action Event class for use with the com.flexstor.common.awt.Tree class.
- Version:
- 2.1
| Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK |
|
Method Summary |
boolean |
getCancel()
Get an option to cancel event. |
FlexTreeNode |
getNode()
Access to the FlexTreeNode object involved with the event, if there is one. |
void |
setCancel(boolean cancel)
Set an option to cancel event. |
BEGIN_NODE_EXPAND
public static final int BEGIN_NODE_EXPAND
- This event is fired when a node is about to be expanded.
This event can be canceled.
- See Also:
- Constant Field Values
END_NODE_EXPAND
public static final int END_NODE_EXPAND
- This event is fired when a node has been expaned.
- See Also:
- Constant Field Values
BEGIN_NODE_COLLAPSE
public static final int BEGIN_NODE_COLLAPSE
- This event is fired when a node is about to be collapsed.
This event can be canceled.
- See Also:
- Constant Field Values
END_NODE_COLLAPSE
public static final int END_NODE_COLLAPSE
- This event is fired when a node has been collapsed.
- See Also:
- Constant Field Values
BEGIN_NODE_SELECT
public static final int BEGIN_NODE_SELECT
- This event is fired when a node has been clicked by mouse.
This event can be canceled.
- See Also:
- Constant Field Values
END_NODE_SELECT
public static final int END_NODE_SELECT
- This event is fired after a node has been clicked by mouse.
This event can be canceled.
- See Also:
- Constant Field Values
NODE_DOUBLE_CLICKED
public static final int NODE_DOUBLE_CLICKED
- This event is fired when a node has been double clicked.
- See Also:
- Constant Field Values
m_node
private FlexTreeNode m_node
m_cancel
private boolean m_cancel
TreeActionEvent
public TreeActionEvent(java.awt.Component source,
int id,
int modifiers,
FlexTreeNode o)
- Constructor.
getNode
public FlexTreeNode getNode()
- Access to the FlexTreeNode object involved with the event, if there is one.
getCancel
public boolean getCancel()
- Get an option to cancel event.
setCancel
public void setCancel(boolean cancel)
- Set an option to cancel event.