com.jidesoft.marker
Class ListMarkerSupport
java.lang.Object
com.jidesoft.marker.AbstractMarkerSupport
com.jidesoft.marker.AbstractRowMarkerSupport
com.jidesoft.marker.ListMarkerSupport
- All Implemented Interfaces:
- MarkerSupport
public class ListMarkerSupport
- extends AbstractRowMarkerSupport
ListMarkerSupport
provides the marker support for a JList
.
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 |
ListMarkerSupport
public ListMarkerSupport(JList list)
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