com.jidesoft.marker
Class TreeMarkerSupport
java.lang.Object
com.jidesoft.marker.AbstractMarkerSupport
com.jidesoft.marker.AbstractRowMarkerSupport
com.jidesoft.marker.TreeMarkerSupport
- All Implemented Interfaces:
- MarkerSupport
public class TreeMarkerSupport
- extends AbstractRowMarkerSupport
TreeMarkerSupport
provides the marker support for a JTree
.
Method Summary |
int |
getRowCount()
|
int |
getRowHeight()
|
void |
scrollTo(int start,
int end,
boolean select)
Scrolls the view to show the items from the start index to the end index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeMarkerSupport
public TreeMarkerSupport(JTree tree)
scrollTo
public void scrollTo(int start,
int end,
boolean select)
- Description copied from interface:
MarkerSupport
- Scrolls the view to show the items from the start index to the end index.
- Parameters:
start
- the index of the start elementend
- the index of the end elementselect
- true to select the elements. Otherwise false.
getRowHeight
public int getRowHeight()
- Specified by:
getRowHeight
in class AbstractRowMarkerSupport
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in class AbstractRowMarkerSupport