Package org.apache.pivot.wtk
Class ListViewItemListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ListViewItemListener.Adapter
-
- All Implemented Interfaces:
ListViewItemListener
- Enclosing interface:
- ListViewItemListener
@Deprecated public static class ListViewItemListener.Adapter extends java.lang.Object implements ListViewItemListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.List view item listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListViewItemListener
ListViewItemListener.Adapter, ListViewItemListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
itemInserted(ListView listView, int index)
Deprecated.Called when an item has been inserted into the list view.void
itemsCleared(ListView listView)
Deprecated.Called when the items in a list view have been cleared.void
itemsRemoved(ListView listView, int index, int count)
Deprecated.Called when items have been removed from the list view.void
itemsSorted(ListView listView)
Deprecated.Called when the items in a list view have been sorted.void
itemUpdated(ListView listView, int index)
Deprecated.Called when an item in the list view has been updated.
-
-
-
Method Detail
-
itemInserted
public void itemInserted(ListView listView, int index)
Deprecated.Description copied from interface:ListViewItemListener
Called when an item has been inserted into the list view.- Specified by:
itemInserted
in interfaceListViewItemListener
- Parameters:
listView
- The source of the event.index
- The index of the item that was inserted.
-
itemsRemoved
public void itemsRemoved(ListView listView, int index, int count)
Deprecated.Description copied from interface:ListViewItemListener
Called when items have been removed from the list view.- Specified by:
itemsRemoved
in interfaceListViewItemListener
- Parameters:
listView
- 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.
-
itemUpdated
public void itemUpdated(ListView listView, int index)
Deprecated.Description copied from interface:ListViewItemListener
Called when an item in the list view has been updated.- Specified by:
itemUpdated
in interfaceListViewItemListener
- Parameters:
listView
- The source of the event.index
- The first index affected by the event.
-
itemsCleared
public void itemsCleared(ListView listView)
Deprecated.Description copied from interface:ListViewItemListener
Called when the items in a list view have been cleared.- Specified by:
itemsCleared
in interfaceListViewItemListener
- Parameters:
listView
- The source of the event.
-
itemsSorted
public void itemsSorted(ListView listView)
Deprecated.Description copied from interface:ListViewItemListener
Called when the items in a list view have been sorted.- Specified by:
itemsSorted
in interfaceListViewItemListener
- Parameters:
listView
- The source of the event.
-
-