|
Gridarta Editor
|
A JTree that supports auto-scrolling while drag and drop is active. More...
Inheritance diagram for net.sf.gridarta.gui.mapmenu.AutoscrollJTree:
Collaboration diagram for net.sf.gridarta.gui.mapmenu.AutoscrollJTree:Public Member Functions | |
| void | autoscroll (@NotNull final Point cursorLocn) |
| AutoscrollJTree (@NotNull final TreeModel treeModel) | |
| Creates a new instance. More... | |
| Insets | getAutoscrollInsets () |
Private Member Functions | |
| JViewport | getViewport () |
| Returns the parent JViewport component. More... | |
Static Private Attributes | |
| static final int | BORDER_SIZE = 12 |
| The active border size. More... | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
A JTree that supports auto-scrolling while drag and drop is active.
Definition at line 39 of file AutoscrollJTree.java.
| net.sf.gridarta.gui.mapmenu.AutoscrollJTree.AutoscrollJTree | ( | @NotNull final TreeModel | treeModel | ) |
Creates a new instance.
| treeModel | the tree's model |
Definition at line 55 of file AutoscrollJTree.java.
| void net.sf.gridarta.gui.mapmenu.AutoscrollJTree.autoscroll | ( | @NotNull final Point | cursorLocn | ) |
Definition at line 76 of file AutoscrollJTree.java.
References net.sf.gridarta.gui.mapmenu.AutoscrollJTree.getAutoscrollInsets(), and net.sf.gridarta.gui.mapmenu.AutoscrollJTree.getViewport().
Here is the call graph for this function:| Insets net.sf.gridarta.gui.mapmenu.AutoscrollJTree.getAutoscrollInsets | ( | ) |
Definition at line 61 of file AutoscrollJTree.java.
References net.sf.gridarta.gui.mapmenu.AutoscrollJTree.getViewport().
Referenced by net.sf.gridarta.gui.mapmenu.AutoscrollJTree.autoscroll().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Returns the parent JViewport component.
Definition at line 103 of file AutoscrollJTree.java.
Referenced by net.sf.gridarta.gui.mapmenu.AutoscrollJTree.autoscroll(), and net.sf.gridarta.gui.mapmenu.AutoscrollJTree.getAutoscrollInsets().
Here is the caller graph for this function:
|
staticprivate |
The active border size.
Definition at line 49 of file AutoscrollJTree.java.
|
staticprivate |
The serial version UID.
Definition at line 44 of file AutoscrollJTree.java.