Package org.jdesktop.swingx
Class JXTreeTable.TreeTableHackerExt5
java.lang.Object
org.jdesktop.swingx.JXTreeTable.TreeTableHacker
org.jdesktop.swingx.JXTreeTable.TreeTableHackerExt
org.jdesktop.swingx.JXTreeTable.TreeTableHackerExt4
org.jdesktop.swingx.JXTreeTable.TreeTableHackerExt5
- Enclosing class:
- JXTreeTable
-
Field Summary
Fields inherited from class org.jdesktop.swingx.JXTreeTable.TreeTableHacker
expansionChangedFlag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MouseEvent
This method checks if the location of the event is in the tree handle margin and translates the coordinates for the JTree.protected int
If a negative number is returned, then all events that occur in the leading margin will be forwarded to the tree and consumed.Methods inherited from class org.jdesktop.swingx.JXTreeTable.TreeTableHackerExt4
hitHandleDetectionFromProcessMouse, isTreeHandleEventType, shouldDisableMouseMotionOnTable
Methods inherited from class org.jdesktop.swingx.JXTreeTable.TreeTableHackerExt
isHitDetectionFromProcessMouse
Methods inherited from class org.jdesktop.swingx.JXTreeTable.TreeTableHacker
completeEditing, expandOrCollapseNode, expansionChanged, hitHandleDetectionFromEditCell, mightBeExpansionTrigger
-
Constructor Details
-
TreeTableHackerExt5
public TreeTableHackerExt5()
-
-
Method Details
-
getTreeHandleWidth
protected int getTreeHandleWidth()If a negative number is returned, then all events that occur in the leading margin will be forwarded to the tree and consumed.- Returns:
- the width of the tree handle if it can be determined, else -1
-
getEventForTreeRenderer
Description copied from class:JXTreeTable.TreeTableHackerExt4
This method checks if the location of the event is in the tree handle margin and translates the coordinates for the JTree.- Overrides:
getEventForTreeRenderer
in classJXTreeTable.TreeTableHackerExt4
- Parameters:
e
- the currently dispatching mouse event- Returns:
- the mouse event to dispatch to the JTree or null if nothing should be dispatched
-