Interface MutableIconProvider

    • Field Detail

      • _MutableIconProvider_

        static final java.lang.Class<MutableIconProvider> _MutableIconProvider_
      • PROP_ICON

        static final java.lang.String PROP_ICON
        The property name for icon.
        See Also:
        Constant Field Values
    • Method Detail

      • setIcon

        void setIcon​(@Nonnull
                     javax.swing.Icon icon)
        Sets the icon. Note that implementations don't actually need to do something in this method: for instance, a valid MutableIconProvider can autonomously change icon in function of time (e.g. a blinking icon) or reacting to a change in the context.
        Parameters:
        icon - the icon
      • addPropertyChangeListener

        void addPropertyChangeListener​(@Nonnull
                                       java.beans.PropertyChangeListener listener)
        Registers a PropertyChangeListener.
        Parameters:
        listener - the listener
      • removePropertyChangeListener

        void removePropertyChangeListener​(@Nonnull
                                          java.beans.PropertyChangeListener listener)
        Unregisters a PropertyChangeListener.
        Parameters:
        listener - the listener