Package org.apache.pivot.wtk
Class ComponentDataListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ComponentDataListener.Adapter
-
- All Implemented Interfaces:
ComponentDataListener
- Enclosing interface:
- ComponentDataListener
@Deprecated public static class ComponentDataListener.Adapter extends java.lang.Object implements ComponentDataListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Component data listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentDataListener
ComponentDataListener.Adapter, ComponentDataListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
valueAdded(Component component, java.lang.String key)
Deprecated.Called when a value has been added to a component's user data dictionary.void
valueRemoved(Component component, java.lang.String key, java.lang.Object value)
Deprecated.Called when a value has been removed from a component's user data dictionary.void
valueUpdated(Component component, java.lang.String key, java.lang.Object previousValue)
Deprecated.Called when a value has been updated in a component's user data dictionary.
-
-
-
Method Detail
-
valueAdded
public void valueAdded(Component component, java.lang.String key)
Deprecated.Description copied from interface:ComponentDataListener
Called when a value has been added to a component's user data dictionary.- Specified by:
valueAdded
in interfaceComponentDataListener
- Parameters:
component
- The component that has changed.key
- The key for the key/value pair that was added to this component's data dictionary.
-
valueUpdated
public void valueUpdated(Component component, java.lang.String key, java.lang.Object previousValue)
Deprecated.Description copied from interface:ComponentDataListener
Called when a value has been updated in a component's user data dictionary.- Specified by:
valueUpdated
in interfaceComponentDataListener
- Parameters:
component
- The component that has changed.key
- The key for the value that has been updated.previousValue
- The previous value for this key.
-
valueRemoved
public void valueRemoved(Component component, java.lang.String key, java.lang.Object value)
Deprecated.Description copied from interface:ComponentDataListener
Called when a value has been removed from a component's user data dictionary.- Specified by:
valueRemoved
in interfaceComponentDataListener
- Parameters:
component
- The component that has changed.key
- The key for the key/value pair that has been removed.value
- The corresponding value that was removed.
-
-