org.apache.pivot.wtk
Interface ComponentDataListener

All Known Implementing Classes:
ComponentDataListener.Adapter

public interface ComponentDataListener

Component data listener interface.


Nested Class Summary
static class ComponentDataListener.Adapter
          Component data listener adapter.
 
Method Summary
 void valueAdded(Component component, String key)
          Called when a value has been added to a component's user data dictionary.
 void valueRemoved(Component component, String key, Object value)
          Called when a value has been removed from a component's user data dictionary.
 void valueUpdated(Component component, String key, Object previousValue)
          Called when a value has been updated in a component's user data dictionary.
 

Method Detail

valueAdded

void valueAdded(Component component,
                String key)
Called when a value has been added to a component's user data dictionary.

Parameters:
component -
key -

valueUpdated

void valueUpdated(Component component,
                  String key,
                  Object previousValue)
Called when a value has been updated in a component's user data dictionary.

Parameters:
component -
key -
previousValue -

valueRemoved

void valueRemoved(Component component,
                  String key,
                  Object value)
Called when a value has been removed from a component's user data dictionary.

Parameters:
component -
key -
value -