Interface MutableIconProvider

All Superinterfaces:
IconProvider, Mutable
All Known Implementing Classes:
MutableIconProviderSupport

public interface MutableIconProvider extends IconProvider, Mutable
A specialized IconProvider which is mutable and fires PropertyChangeEvents.
Since:
2.0-ALPHA-1
Author:
Fabrizio Giudici
Status: draft API
Stereotype:
Role
  • Field Details

  • Method Details

    • setIcon

      void setIcon(@Nonnull 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