E - the type of the action eventpublic interface ActionListener<E>
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Registers a
PropertyChangeListener for the specified property. |
boolean |
isEnabled()
Returns true, if this action is disabled, else false.
|
void |
onAction(E event)
This method which gets called when the action gets fired.
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Unegisters a
PropertyChangeListener for the specified property. |
void onAction(E event)
event - the action eventboolean isEnabled()
void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangeListener for the specified property.propertyName - the property to observelistener - the PropertyChangeListener to registervoid removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangeListener for the specified property.propertyName - the property to stop to observelistener - the PropertyChangeListener to unregisterCopyright © 2012–2015 Drombler. All rights reserved.