JIDE 3.5.15

com.jidesoft.marker
Class ListMarkerSupport

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

public class ListMarkerSupport
extends AbstractRowMarkerSupport

ListMarkerSupport provides the marker support for a JList.


Constructor Summary
ListMarkerSupport(JList list)
           
 
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

ListMarkerSupport

public ListMarkerSupport(JList list)
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