Package javax.help
Interface HelpAction
-
- All Known Implementing Classes:
AbstractHelpAction
,BackAction
,FavoritesAction
,ForwardAction
,HomeAction
,PrintAction
,PrintSetupAction
,ReloadAction
,SeparatorAction
public interface HelpAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds aPropertyChange
listener.java.lang.Object
getControl()
Getter for property control.java.lang.Object
getValue(java.lang.String key)
Gets one of this object's properties using the associated key.boolean
isEnabled()
Getter for property enabled.void
putValue(java.lang.String key, java.lang.Object value)
Sets one of this object's properties using the associated key.void
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes aPropertyChange
listener.void
setEnabled(boolean enabled)
Setter for property enabled.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Getter for property enabled.- Returns:
- Value of property enabled.
-
setEnabled
void setEnabled(boolean enabled)
Setter for property enabled.- Parameters:
enabled
- New value of property enabled.
-
getControl
java.lang.Object getControl()
Getter for property control.- Returns:
- Value of property control.
-
getValue
java.lang.Object getValue(java.lang.String key)
Gets one of this object's properties using the associated key.
-
putValue
void putValue(java.lang.String key, java.lang.Object value)
Sets one of this object's properties using the associated key. If the value has changed, aPropertyChangeEvent
is sent to listeners.- Parameters:
key
- aString
containing the keyvalue
- anObject
value
-
addPropertyChangeListener
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds aPropertyChange
listener. Containers and attached components use these methods to register interest in thisAction
object. When its enabled state or other property changes, the registered listeners are informed of the change.- Parameters:
listener
- aPropertyChangeListener
object
-
removePropertyChangeListener
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes aPropertyChange
listener.- Parameters:
listener
- aPropertyChangeListener
object- See Also:
addPropertyChangeListener(java.beans.PropertyChangeListener)
-
-