|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.model.AbstractListSelectionPolicy<V>
V - The type of values contained in the select model.public abstract class AbstractListSelectionPolicy<V>
An abstract implementation of a list selection strategy for a list select model. This class is thread-safe, and assumes that the corresponding select model is thread-safe, synchronized on itself.
ListSelectModel| Constructor Summary | |
|---|---|
AbstractListSelectionPolicy()
|
|
| Method Summary | |
|---|---|
int[] |
getAddSelectedIndices(ListSelectModel<V> selectModel,
int[] indices)
Determines which requested indices may be added to the selection. |
int[] |
getRemoveSelectedIndices(ListSelectModel<V> selectModel,
int[] indices)
Determines which requested indices may be removed from the selection. |
int[] |
getSetSelectedIndices(ListSelectModel<V> selectModel,
int[] indices)
Determines which requested indices may be set as the selection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractListSelectionPolicy()
| Method Detail |
|---|
public int[] getSetSelectedIndices(ListSelectModel<V> selectModel,
int[] indices)
getSetSelectedIndices in interface ListSelectionPolicy<V>selectModel - The model containing the values to be selected.indices - The requested indices to set as the selection.
public int[] getAddSelectedIndices(ListSelectModel<V> selectModel,
int[] indices)
getAddSelectedIndices in interface ListSelectionPolicy<V>selectModel - The model containing the values to be selected.indices - The requested indices to add to the selection.
public int[] getRemoveSelectedIndices(ListSelectModel<V> selectModel,
int[] indices)
getRemoveSelectedIndices in interface ListSelectionPolicy<V>selectModel - The model containing the values to be removed.indices - The requested indices to remove to the selection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||