Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • 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 interface ComponentDataListener
        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 interface ComponentDataListener
        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 interface ComponentDataListener
        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.