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