|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChange 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 a PropertyChange listener. |
void |
setEnabled(boolean enabled)
Setter for property enabled. |
Method Detail |
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- New value of property enabled.public java.lang.Object getControl()
public java.lang.Object getValue(java.lang.String key)
putValue(java.lang.String, java.lang.Object)
public void putValue(java.lang.String key, java.lang.Object value)
PropertyChangeEvent
is sent
to listeners.
key
- a String
containing the keyvalue
- an Object
valuepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChange
listener. Containers and attached
components use these methods to register interest in this
Action
object. When its enabled state or other property
changes, the registered listeners are informed of the change.
listener
- a PropertyChangeListener
objectpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChange
listener.
listener
- a PropertyChangeListener
objectaddPropertyChangeListener(java.beans.PropertyChangeListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |