javax.help
Class AbstractHelpAction
java.lang.Objectjavax.help.AbstractHelpAction
- HelpAction
public abstract class AbstractHelpAction
extends java.lang.Object
void | addPropertyChangeListener(PropertyChangeListener l)- Add a PropertyChangeListener to the listener list.
|
protected void | firePropertyChange(String propertyName, Object oldValue, Object newValue)- Supports reporting bound property changes.
|
Object | getControl()- Getter for property control.
|
Object | getValue(String key)- Gets the
Object associated with the specified key.
|
boolean | isEnabled()- Getter for property enabled.
|
void | putValue(String key, Object newValue)- Sets the
Value associated with the specified key.
|
void | removePropertyChangeListener(PropertyChangeListener l)- Removes a PropertyChangeListener from the listener list.
|
void | setEnabled(boolean enabled)- Setter for property enabled.
|
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
Add a PropertyChangeListener to the listener list.
- addPropertyChangeListener in interface HelpAction
firePropertyChange
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue) Supports reporting bound property changes. This method can be called
when a bound property has changed and it will send the appropriate
PropertyChangeEvent to any registered
PropertyChangeListeners.
getControl
public Object getControl()
Getter for property control.
- getControl in interface HelpAction
- Value of property control.
getValue
public Object getValue(String key)
Gets the Object associated with the specified key.
- getValue in interface HelpAction
key - a string containing the specified key
- the binding
Object stored with this key; if there
are no keys, it will return null
isEnabled
public boolean isEnabled()
Getter for property enabled.
- isEnabled in interface HelpAction
- Value of property enabled.
putValue
public void putValue(String key,
Object newValue) Sets the Value associated with the specified key.
- putValue in interface HelpAction
key - the String that identifies the stored objectnewValue - the Object to store using this key
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.
- removePropertyChangeListener in interface HelpAction
l - The listener to remove.
setEnabled
public void setEnabled(boolean enabled)
Setter for property enabled.
- setEnabled in interface HelpAction
enabled - New value of property enabled.