JIDE 3.5.15

com.jidesoft.marker
Class TreeMarkerSupport

java.lang.Object
  extended by com.jidesoft.marker.AbstractMarkerSupport
      extended by com.jidesoft.marker.AbstractRowMarkerSupport
          extended by com.jidesoft.marker.TreeMarkerSupport
All Implemented Interfaces:
MarkerSupport

public class TreeMarkerSupport
extends AbstractRowMarkerSupport

TreeMarkerSupport provides the marker support for a JTree.


Constructor Summary
TreeMarkerSupport(JTree tree)
           
 
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 com.jidesoft.marker.AbstractRowMarkerSupport
indexToPoint, pointToIndexRange
 
Methods inherited from class com.jidesoft.marker.AbstractMarkerSupport
createMarkerModel, getMarkerModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeMarkerSupport

public TreeMarkerSupport(JTree tree)
Method Detail

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 element
end - the index of the end element
select - 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

JIDE 3.5.15