|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.dataset.adapter.SelectionModelAdapter
public class SelectionModelAdapter
Constructor Summary | |
---|---|
SelectionModelAdapter(DataSelector ds)
Creates a new instance of SelectionModelAdapter |
Method Summary | |
---|---|
void |
addSelectionModelListener(SelectionModelListener listener)
Add a listener to the list that's notified each time a change to the selection occurs. |
int[] |
getSelectionIndices()
|
void |
removeSelectionModelListener(SelectionModelListener listener)
Remove the given listener from the list that's notified each time a change to the selection occurs |
void |
setSelectionIndices(int[] indices)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionModelAdapter(DataSelector ds)
Method Detail |
---|
public void addSelectionModelListener(SelectionModelListener listener)
SelectionModel
addSelectionModelListener
in interface SelectionModel
listener
- The listener to be notifiedpublic void removeSelectionModelListener(SelectionModelListener listener)
SelectionModel
removeSelectionModelListener
in interface SelectionModel
listener
- the listener to be removedpublic void setSelectionIndices(int[] indices)
setSelectionIndices
in interface SelectionModel
public int[] getSelectionIndices()
getSelectionIndices
in interface SelectionModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |