Package org.apache.pivot.wtk
Class ButtonBindingListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ButtonBindingListener.Adapter
-
- All Implemented Interfaces:
ButtonBindingListener
- Enclosing interface:
- ButtonBindingListener
@Deprecated public static class ButtonBindingListener.Adapter extends java.lang.Object implements ButtonBindingListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Button binding listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ButtonBindingListener
ButtonBindingListener.Adapter, ButtonBindingListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
buttonDataBindMappingChanged(Button button, Button.ButtonDataBindMapping previousButtonDataBindMapping)
Deprecated.Called when a button's buttonData bind mapping has changed.void
buttonDataBindTypeChanged(Button button, BindType previousButtonDataBindType)
Deprecated.Called when a button's buttonData bind type has changed.void
buttonDataKeyChanged(Button button, java.lang.String previousButtonDataKey)
Deprecated.Called when a button's buttonData key has changed.void
selectedBindMappingChanged(Button button, Button.SelectedBindMapping previousSelectedBindMapping)
Deprecated.Called when a button's selected bind mapping has changed.void
selectedBindTypeChanged(Button button, BindType previousSelectedBindType)
Deprecated.Called when a button's selected bind type has changed.void
selectedKeyChanged(Button button, java.lang.String previousSelectedKey)
Deprecated.Called when a button's selected key has changed.void
stateBindMappingChanged(Button button, Button.StateBindMapping previousStateBindMapping)
Deprecated.Called when a button's state bind mapping has changed.void
stateBindTypeChanged(Button button, BindType previousStateBindType)
Deprecated.Called when a button's state bind type has changed.void
stateKeyChanged(Button button, java.lang.String previousStateKey)
Deprecated.Called when a button's state key has changed.
-
-
-
Method Detail
-
buttonDataKeyChanged
public void buttonDataKeyChanged(Button button, java.lang.String previousButtonDataKey)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's buttonData key has changed.- Specified by:
buttonDataKeyChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousButtonDataKey
- The previous binding key for the button data.
-
buttonDataBindTypeChanged
public void buttonDataBindTypeChanged(Button button, BindType previousButtonDataBindType)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's buttonData bind type has changed.- Specified by:
buttonDataBindTypeChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousButtonDataBindType
- The previous bind type for the button data.
-
buttonDataBindMappingChanged
public void buttonDataBindMappingChanged(Button button, Button.ButtonDataBindMapping previousButtonDataBindMapping)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's buttonData bind mapping has changed.- Specified by:
buttonDataBindMappingChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousButtonDataBindMapping
- The previous bind mapping for the button data.
-
selectedKeyChanged
public void selectedKeyChanged(Button button, java.lang.String previousSelectedKey)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's selected key has changed.- Specified by:
selectedKeyChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousSelectedKey
- The previous binding key for the selected state.
-
selectedBindTypeChanged
public void selectedBindTypeChanged(Button button, BindType previousSelectedBindType)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's selected bind type has changed.- Specified by:
selectedBindTypeChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousSelectedBindType
- The previous bind type for the selected state.
-
selectedBindMappingChanged
public void selectedBindMappingChanged(Button button, Button.SelectedBindMapping previousSelectedBindMapping)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's selected bind mapping has changed.- Specified by:
selectedBindMappingChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousSelectedBindMapping
- The previous bind mapping for the selected state.
-
stateKeyChanged
public void stateKeyChanged(Button button, java.lang.String previousStateKey)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's state key has changed.- Specified by:
stateKeyChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousStateKey
- The previous binding key for the button state.
-
stateBindTypeChanged
public void stateBindTypeChanged(Button button, BindType previousStateBindType)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's state bind type has changed.- Specified by:
stateBindTypeChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousStateBindType
- The previous bind type for the button state.
-
stateBindMappingChanged
public void stateBindMappingChanged(Button button, Button.StateBindMapping previousStateBindMapping)
Deprecated.Description copied from interface:ButtonBindingListener
Called when a button's state bind mapping has changed.- Specified by:
stateBindMappingChanged
in interfaceButtonBindingListener
- Parameters:
button
- The button that has changed.previousStateBindMapping
- The previous bind mapping for the button state.
-
-