Interface ComponentDataListener

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void valueAdded​(Component component, java.lang.String key)
      Called when a value has been added to a component's user data dictionary.
      default void valueRemoved​(Component component, java.lang.String key, java.lang.Object value)
      Called when a value has been removed from a component's user data dictionary.
      default void valueUpdated​(Component component, java.lang.String key, java.lang.Object previousValue)
      Called when a value has been updated in a component's user data dictionary.
    • Method Detail

      • valueAdded

        default void valueAdded​(Component component,
                                java.lang.String key)
        Called when a value has been added to a component's user data dictionary.
        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

        default void valueUpdated​(Component component,
                                  java.lang.String key,
                                  java.lang.Object previousValue)
        Called when a value has been updated in a component's user data dictionary.
        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

        default void valueRemoved​(Component component,
                                  java.lang.String key,
                                  java.lang.Object value)
        Called when a value has been removed from a component's user data dictionary.
        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.