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
public class JXTreeTable.TreeTableHackerExt5
- extends JXTreeTable.TreeTableHackerExt4
Method Summary |
protected MouseEvent |
getEventForTreeRenderer(MouseEvent e)
This method checks if the location of the event is in the tree handle
margin and translates the coordinates for the JTree. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXTreeTable.TreeTableHackerExt5
public JXTreeTable.TreeTableHackerExt5()
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
protected MouseEvent getEventForTreeRenderer(MouseEvent e)
- 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 class JXTreeTable.TreeTableHackerExt4
- Parameters:
e
- the currently dispatching mouse event
- Returns:
- the mouse event to dispatch to the JTree or null if nothing
should be dispatched
Copyright © 2012. All Rights Reserved.