|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MarkerSupport
MarkerSupport
is an adapter that provides the marker support for various components. There are several
implementations which provides the marker support for JList, JTable, JTree etc.
Method Summary | |
---|---|
MarkerModel |
getMarkerModel()
Gets the marker model. |
Point |
indexToPoint(int index,
int height)
MarkerArea shows information of some elements from a potential large range in a condensed stripe. |
IntegerRange |
pointToIndexRange(Point p,
int height)
Finds out the index range that represented by the point. |
void |
scrollTo(int start,
int end,
boolean select)
Scrolls the view to show the items from the start index to the end index. |
Method Detail |
---|
MarkerModel getMarkerModel()
void scrollTo(int start, int end, boolean select)
start
- the index of the start elementend
- the index of the end elementselect
- true to select the elements. Otherwise false.Point indexToPoint(int index, int height)
index
- the element index.height
- the total height of the marker stripe
IntegerRange pointToIndexRange(Point p, int height)
p
- the Pointheight
- the total height of the marker stripe
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |