Package it.tidalwave.ui.core.role
Interface MutableIconProvider
- All Superinterfaces:
IconProvider
,Mutable
- All Known Implementing Classes:
MutableIconProviderSupport
A specialized
IconProvider
which is mutable and fires PropertyChangeEvent
s.- Since:
- 2.0-ALPHA-1
- Author:
- Fabrizio Giudici
- Status: draft API
- Stereotype:
- Role
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Class
<MutableIconProvider> static final String
The property name for icon.Fields inherited from interface it.tidalwave.ui.core.role.IconProvider
_IconProvider_, DEFAULT
-
Method Summary
Methods inherited from interface it.tidalwave.ui.core.role.IconProvider
getIcon
Methods inherited from interface it.tidalwave.ui.core.Mutable
addListener, addListener1, addListener2, addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removeListener, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
_MutableIconProvider_
-
PROP_ICON
The property name for icon.- See Also:
-
-
Method Details
-
setIcon
Sets the icon. Note that implementations don't actually need to do something in this method: for instance, a validMutableIconProvider
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
-