|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.wtk.ListViewItemListener.Adapter
public static class ListViewItemListener.Adapter
List view item listener adapter.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListViewItemListener |
|---|
ListViewItemListener.Adapter |
| Constructor Summary | |
|---|---|
ListViewItemListener.Adapter()
|
|
| Method Summary | |
|---|---|
void |
itemInserted(ListView listView,
int index)
Called when an item has been inserted into the list view. |
void |
itemsCleared(ListView listView)
Called when the items in a list view have been cleared. |
void |
itemsRemoved(ListView listView,
int index,
int count)
Called when items have been removed from the list view. |
void |
itemsSorted(ListView listView)
Called when the items in a list view have been sorted. |
void |
itemUpdated(ListView listView,
int index)
Called when an item in the list view has been updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListViewItemListener.Adapter()
| Method Detail |
|---|
public void itemInserted(ListView listView,
int index)
ListViewItemListener
itemInserted in interface ListViewItemListenerlistView - The source of the event.index - The index of the item that was inserted.
public void itemsRemoved(ListView listView,
int index,
int count)
ListViewItemListener
itemsRemoved in interface ListViewItemListenerlistView - The source of the event.index - The first index affected by the event.count - The number of items that were removed, or -1 if all items
were removed.
public void itemUpdated(ListView listView,
int index)
ListViewItemListener
itemUpdated in interface ListViewItemListenerlistView - The source of the event.index - The first index affected by the event.public void itemsCleared(ListView listView)
ListViewItemListener
itemsCleared in interface ListViewItemListenerpublic void itemsSorted(ListView listView)
ListViewItemListener
itemsSorted in interface ListViewItemListenerlistView - The source of the event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||