E
- the type of the action eventpublic abstract class AbstractActionListener<E> extends Object implements ActionListener<E>
ActionListener
s.Constructor and Description |
---|
AbstractActionListener()
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
protected PropertyChangeSupport |
getPropertyChangeSupport()
Gets the
PropertyChangeSupport of this bean. |
boolean |
isEnabled()
Returns true, if this action is disabled, else false.
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
protected void |
setEnabled(boolean enabled)
Sets the enabled state of this Action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onAction
public AbstractActionListener()
public boolean isEnabled()
isEnabled
in interface ActionListener<E>
protected void setEnabled(boolean enabled)
enabled
- the enabled state of this Actionpublic void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface org.softsmithy.lib.beans.Bean
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface org.softsmithy.lib.beans.Bean
protected PropertyChangeSupport getPropertyChangeSupport()
PropertyChangeSupport
of this bean.Copyright © 2012–2018 Drombler. All rights reserved.