Adds a
PropertyChangeListener
to the listener list.
The listener is registered for all properties.
A PropertyChangeEvent
will get fired in response to setting
a bound property, e.g. setFont
, setBackground
,
or setForeground
.
Note that if the current component is inheriting its foreground,
background, or font from its container, then no event will be
fired in response to a change in the inherited property.
Parameters:
- listener - The PropertyChangeListener
to be added
See Also:
Action.addPropertyChangeListener(java.beans.PropertyChangeListener)
,