Class javax.help.AbstractHelpAction
java.lang.Object
|
+----javax.help.AbstractHelpAction
- Subclasses:
- BackAction, FavoritesAction, ForwardAction, HomeAction, PrintAction, PrintSetupAction, ReloadAction, SeparatorAction
- public abstract class AbstractHelpAction
- extends java.lang.Object
- implements HelpAction
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Add a PropertyChangeListener to the listener list.
- Implements:
- addPropertyChangeListener in interface HelpAction
- Parameters:
l
- The listener to add.
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
- Removes a PropertyChangeListener from the listener list.
- Implements:
- removePropertyChangeListener in interface HelpAction
- Parameters:
l
- The listener to remove.
firePropertyChange
protected void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.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
.
isEnabled
public boolean isEnabled()
- Getter for property enabled.
- Implements:
- isEnabled in interface HelpAction
- Returns:
- Value of property enabled.
setEnabled
public void setEnabled(boolean enabled)
- Setter for property enabled.
- Implements:
- setEnabled in interface HelpAction
- Parameters:
enabled
- New value of property enabled.
getControl
public java.lang.Object getControl()
- Getter for property control.
- Implements:
- getControl in interface HelpAction
- Returns:
- Value of property control.
getValue
public java.lang.Object getValue(java.lang.String key)
- Gets the
Object
associated with the specified key.
- Implements:
- getValue in interface HelpAction
- Parameters:
key
- a string containing the specified key
- Returns:
- the binding
Object
stored with this key; if there
are no keys, it will return null
- See Also:
- Action#getValue
putValue
public void putValue(java.lang.String key,
java.lang.Object newValue)
- Sets the
Value
associated with the specified key.
- Implements:
- putValue in interface HelpAction
- Parameters:
key
- the String
that identifies the stored object
newValue
- the Object
to store using this key
- See Also:
- Action#putValue