org.apache.pivot.wtk
Class ListButtonSelectionListener.Adapter
java.lang.Object
org.apache.pivot.wtk.ListButtonSelectionListener.Adapter
- All Implemented Interfaces:
- ListButtonSelectionListener
- Enclosing interface:
- ListButtonSelectionListener
public static class ListButtonSelectionListener.Adapter
- extends Object
- implements ListButtonSelectionListener
List button selection listener adapter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListButtonSelectionListener.Adapter
public ListButtonSelectionListener.Adapter()
selectedIndexChanged
public void selectedIndexChanged(ListButton listButton,
int previousSelectedIndex)
- Description copied from interface:
ListButtonSelectionListener
- Called when a list button's selected index has changed.
- Specified by:
selectedIndexChanged
in interface ListButtonSelectionListener
- Parameters:
listButton
- The source of the event.previousSelectedIndex
- If the selection changed directly, contains the index that was previously
selected. Otherwise, contains the current selection.
selectedItemChanged
public void selectedItemChanged(ListButton listButton,
Object previousSelectedItem)
- Description copied from interface:
ListButtonSelectionListener
- Called when a list button's selected item has changed.
- Specified by:
selectedItemChanged
in interface ListButtonSelectionListener
- Parameters:
listButton
- The source of the event.previousSelectedItem
- The item that was previously selected, or null if the previous selection
cannot be determined.