Package javax.help
Class AbstractHelpAction
java.lang.Object
javax.help.AbstractHelpAction
- All Implemented Interfaces:
HelpAction
- Direct Known Subclasses:
BackAction
,FavoritesAction
,ForwardAction
,HomeAction
,PrintAction
,PrintSetupAction
,ReloadAction
,SeparatorAction
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a PropertyChangeListener to the listener list.protected void
firePropertyChange
(String propertyName, Object oldValue, Object newValue) Supports reporting bound property changes.Getter for property control.Gets theObject
associated with the specified key.boolean
Getter for property enabled.void
Sets theValue
associated with the specified key.void
Removes a PropertyChangeListener from the listener list.void
setEnabled
(boolean enabled) Setter for property enabled.
-
Method Details
-
addPropertyChangeListener
Add a PropertyChangeListener to the listener list.- Specified by:
addPropertyChangeListener
in interfaceHelpAction
- Parameters:
l
- The listener to add.
-
removePropertyChangeListener
Removes a PropertyChangeListener from the listener list.- Specified by:
removePropertyChangeListener
in interfaceHelpAction
- Parameters:
l
- The listener to remove.- See Also:
-
firePropertyChange
Supports reporting bound property changes. This method can be called when a bound property has changed and it will send the appropriatePropertyChangeEvent
to any registeredPropertyChangeListeners
. -
isEnabled
public boolean isEnabled()Getter for property enabled.- Specified by:
isEnabled
in interfaceHelpAction
- Returns:
- Value of property enabled.
-
setEnabled
public void setEnabled(boolean enabled) Setter for property enabled.- Specified by:
setEnabled
in interfaceHelpAction
- Parameters:
enabled
- New value of property enabled.
-
getControl
Getter for property control.- Specified by:
getControl
in interfaceHelpAction
- Returns:
- Value of property control.
-
getValue
Gets theObject
associated with the specified key.- Specified by:
getValue
in interfaceHelpAction
- Parameters:
key
- a string containing the specifiedkey
- Returns:
- the binding
Object
stored with this key; if there are no keys, it will returnnull
- See Also:
-
Action#getValue
-
putValue
Sets theValue
associated with the specified key.- Specified by:
putValue
in interfaceHelpAction
- Parameters:
key
- theString
that identifies the stored objectnewValue
- theObject
to store using this key- See Also:
-
Action#putValue
-