|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.ListViewSelectionListener.Adapter
public static class ListViewSelectionListener.Adapter
List view selection listener adapter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListViewSelectionListener |
---|
ListViewSelectionListener.Adapter |
Constructor Summary | |
---|---|
ListViewSelectionListener.Adapter()
|
Method Summary | |
---|---|
void |
selectedItemChanged(ListView listView,
Object previousSelectedItem)
Called when a list view's selected item has changed. |
void |
selectedRangeAdded(ListView listView,
int rangeStart,
int rangeEnd)
Called when a range has been added to a list view's selection. |
void |
selectedRangeRemoved(ListView listView,
int rangeStart,
int rangeEnd)
Called when a range has been removed from a list view's selection. |
void |
selectedRangesChanged(ListView listView,
Sequence<Span> previousSelectedRanges)
Called when a list view's selection state has changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListViewSelectionListener.Adapter()
Method Detail |
---|
public void selectedRangeAdded(ListView listView, int rangeStart, int rangeEnd)
ListViewSelectionListener
selectedRangeAdded
in interface ListViewSelectionListener
listView
- The source of the event.rangeStart
- The start index of the range that was added, inclusive.rangeEnd
- The end index of the range that was added, inclusive.public void selectedRangeRemoved(ListView listView, int rangeStart, int rangeEnd)
ListViewSelectionListener
selectedRangeRemoved
in interface ListViewSelectionListener
listView
- The source of the event.rangeStart
- The starting index of the range that was removed, inclusive.rangeEnd
- The starting index of the range that was removed, inclusive.public void selectedRangesChanged(ListView listView, Sequence<Span> previousSelectedRanges)
ListViewSelectionListener
selectedRangesChanged
in interface ListViewSelectionListener
listView
- The source of the event.previousSelectedRanges
- If the selection changed directly, contains the ranges that were previously
selected. If the selection changed indirectly as a result of a model change,
contains the current selection. Otherwise, contains null.public void selectedItemChanged(ListView listView, Object previousSelectedItem)
ListViewSelectionListener
selectedItemChanged
in interface ListViewSelectionListener
listView
- The source of the event.previousSelectedItem
- The item that was previously selected.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |