Package org.apache.pivot.wtk
Class ListButtonSelectionListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ListButtonSelectionListener.Adapter
-
- All Implemented Interfaces:
ListButtonSelectionListener
- Enclosing interface:
- ListButtonSelectionListener
@Deprecated public static class ListButtonSelectionListener.Adapter extends java.lang.Object implements ListButtonSelectionListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.List button selection listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListButtonSelectionListener
ListButtonSelectionListener.Adapter, ListButtonSelectionListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
selectedIndexChanged(ListButton listButton, int previousSelectedIndex)
Deprecated.Called when a list button's selected index has changed.void
selectedItemChanged(ListButton listButton, java.lang.Object previousSelectedItem)
Deprecated.Called when a list button's selected item has changed.
-
-
-
Method Detail
-
selectedIndexChanged
public void selectedIndexChanged(ListButton listButton, int previousSelectedIndex)
Deprecated.Description copied from interface:ListButtonSelectionListener
Called when a list button's selected index has changed.- Specified by:
selectedIndexChanged
in interfaceListButtonSelectionListener
- 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, java.lang.Object previousSelectedItem)
Deprecated.Description copied from interface:ListButtonSelectionListener
Called when a list button's selected item has changed.- Specified by:
selectedItemChanged
in interfaceListButtonSelectionListener
- Parameters:
listButton
- The source of the event.previousSelectedItem
- The item that was previously selected, ornull
if the previous selection cannot be determined.
-
-