|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.guigarage.jgrid.ui.ListSelectionUtilities
public class ListSelectionUtilities
| Method Summary | |
|---|---|
static boolean |
isBetweenOrEqualsLeadAndAncestor(ListSelectionModel selectionModel,
int index)
Returns true is the index is between the leadIndex and the ancestorIndex. |
static boolean |
isOnSameSideFromAncestorAsLead(ListSelectionModel selectionModel,
int index)
Returns true is both the index and the leadIndex of the selectionModel are smaller or bigger than the ancestorIndex. |
static void |
refreshAnchorAndLead(ListSelectionModel selectionModel,
int maxIndex)
Updates the anchor and lead of the given SelectionModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void refreshAnchorAndLead(ListSelectionModel selectionModel,
int maxIndex)
selectionModel - the SelectionModel being updatedmaxIndex - the max index of the data model
public static boolean isOnSameSideFromAncestorAsLead(ListSelectionModel selectionModel,
int index)
index - the index of interest
public static boolean isBetweenOrEqualsLeadAndAncestor(ListSelectionModel selectionModel,
int index)
index - the index of interest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||