public abstract class AbstractHelpAction extends java.lang.Object implements HelpAction
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a PropertyChangeListener to the listener list.
|
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Supports reporting bound property changes.
|
java.lang.Object |
getControl()
Getter for property control.
|
java.lang.Object |
getValue(java.lang.String key)
Gets the
Object associated with the specified key. |
boolean |
isEnabled()
Getter for property enabled.
|
void |
putValue(java.lang.String key,
java.lang.Object newValue)
Sets the
Value associated with the specified key. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.
|
void |
setEnabled(boolean enabled)
Setter for property enabled.
|
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener in interface HelpActionl - The listener to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener in interface HelpActionl - The listener to remove.HelpAction.addPropertyChangeListener(java.beans.PropertyChangeListener)protected void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
PropertyChangeEvent to any registered
PropertyChangeListeners.public boolean isEnabled()
isEnabled in interface HelpActionpublic void setEnabled(boolean enabled)
setEnabled in interface HelpActionenabled - New value of property enabled.public java.lang.Object getControl()
getControl in interface HelpActionpublic java.lang.Object getValue(java.lang.String key)
Object associated with the specified key.getValue in interface HelpActionkey - a string containing the specified keyObject stored with this key; if there
are no keys, it will return nullAction#getValuepublic void putValue(java.lang.String key,
java.lang.Object newValue)
Value associated with the specified key.putValue in interface HelpActionkey - the String that identifies the stored objectnewValue - the Object to store using this keyAction#putValue