All Packages Class Hierarchy This Package Previous Next Index
Class dtai.gwt.TreeEvent
java.lang.Object
|
+----java11.util.EventObject
|
+----java11.awt.event.AWTEvent
|
+----java11.awt.event.ComponentEvent
|
+----java11.awt.event.InputEvent
|
+----dtai.gwt.TreeEvent
- public class TreeEvent
- extends InputEvent
TreeEvent
-
DESELECTED
- The tree item de-selected state change type.
-
SELECTED
- The tree item selected state change type.
-
TREE_FIRST
-
-
TREE_LAST
-
-
TREE_NODE_CONDENSED
- The tree item is a TreeNode and was condensed.
-
TREE_NODE_EXPANDED
- The tree item is a TreeNode and was expanded.
-
TREE_STATE_CHANGED
- The tree item state changed event type.
-
TreeEvent()
- TreeEvent
-
TreeEvent(TreeSelectable, Event, int, int, TreeItem, int, int)
- TreeEvent
-
TreeEvent(TreeSelectable, int, int, TreeItem)
- TreeEvent
-
getPoint()
- returns the location of the mouse, if mouse produced the event,
otherwise the lower left corner
-
getStateChange()
- Returns the state change type which generated the event.
-
getTreeItem()
- returns the item selected/expanded/condensed
-
getTreeSelectable()
- Returns the TreeSelectable object where this event originated.
-
getX()
- returns the x location of the mouse, if mouse produced the event,
otherwise the lower left corner
-
getY()
- returns the y location of the mouse, if mouse produced the event,
otherwise the lower left corner
TREE_STATE_CHANGED
public static final int TREE_STATE_CHANGED
- The tree item state changed event type.
TREE_NODE_EXPANDED
public static final int TREE_NODE_EXPANDED
- The tree item is a TreeNode and was expanded.
TREE_NODE_CONDENSED
public static final int TREE_NODE_CONDENSED
- The tree item is a TreeNode and was condensed.
TREE_FIRST
public static final int TREE_FIRST
TREE_LAST
public static final int TREE_LAST
SELECTED
public static final int SELECTED
- The tree item selected state change type.
DESELECTED
public static final int DESELECTED
- The tree item de-selected state change type.
TreeEvent
public TreeEvent()
- TreeEvent
TreeEvent
public TreeEvent(TreeSelectable source,
Event evt,
int id,
int stateChange,
TreeItem item,
int x,
int y)
- TreeEvent
- Parameters:
- source - - TBD
- evt - - TBD
- id - - TBD
- stateChange - - TBD
- x - - TBD
- y - - TBD
TreeEvent
public TreeEvent(TreeSelectable source,
int id,
int state,
TreeItem item)
- TreeEvent
- Parameters:
- source - - TBD
- id - - TBD
- state - - TBD
getTreeSelectable
public TreeSelectable getTreeSelectable()
- Returns the TreeSelectable object where this event originated.
- Returns:
- TreeSelectable
getStateChange
public int getStateChange()
- Returns the state change type which generated the event.
- Returns:
- int
- See Also:
- SELECTED
getTreeItem
public TreeItem getTreeItem()
- returns the item selected/expanded/condensed
- Returns:
- TreeItem
getX
public int getX()
- returns the x location of the mouse, if mouse produced the event,
otherwise the lower left corner
- Returns:
- int
getY
public int getY()
- returns the y location of the mouse, if mouse produced the event,
otherwise the lower left corner
- Returns:
- int
getPoint
public final synchronized Point getPoint()
- returns the location of the mouse, if mouse produced the event,
otherwise the lower left corner
- Returns:
- Point
All Packages Class Hierarchy This Package Previous Next Index