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 TypeMethodDescriptionvoidAdd a PropertyChangeListener to the listener list.protected voidfirePropertyChange(String propertyName, Object oldValue, Object newValue) Supports reporting bound property changes.Getter for property control.Gets theObjectassociated with the specified key.booleanGetter for property enabled.voidSets theValueassociated with the specified key.voidRemoves a PropertyChangeListener from the listener list.voidsetEnabled(boolean enabled) Setter for property enabled.
-
Method Details
-
addPropertyChangeListener
Add a PropertyChangeListener to the listener list.- Specified by:
addPropertyChangeListenerin interfaceHelpAction- Parameters:
l- The listener to add.
-
removePropertyChangeListener
Removes a PropertyChangeListener from the listener list.- Specified by:
removePropertyChangeListenerin 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 appropriatePropertyChangeEventto any registeredPropertyChangeListeners. -
isEnabled
public boolean isEnabled()Getter for property enabled.- Specified by:
isEnabledin interfaceHelpAction- Returns:
- Value of property enabled.
-
setEnabled
public void setEnabled(boolean enabled) Setter for property enabled.- Specified by:
setEnabledin interfaceHelpAction- Parameters:
enabled- New value of property enabled.
-
getControl
Getter for property control.- Specified by:
getControlin interfaceHelpAction- Returns:
- Value of property control.
-
getValue
Gets theObjectassociated with the specified key.- Specified by:
getValuein interfaceHelpAction- Parameters:
key- a string containing the specifiedkey- Returns:
- the binding
Objectstored with this key; if there are no keys, it will returnnull - See Also:
-
Action#getValue
-
putValue
Sets theValueassociated with the specified key.- Specified by:
putValuein interfaceHelpAction- Parameters:
key- theStringthat identifies the stored objectnewValue- theObjectto store using this key- See Also:
-
Action#putValue
-