Inheritance diagram for com.arcle.rmt.j2se.swing.ui.ActionWrapper:
Public Member Functions | |
ActionWrapper (Action wrapped) | |
Constructs the wrapper. | |
void | actionPerformed (ActionEvent e) |
Template method which wraps the doActionPerformed event handler with an exception-handling construct. | |
Object | getValue (String key) |
Gets one of this object's properties using the associated key. | |
void | putValue (String key, Object value) |
Sets one of this object's properties using the associated key. | |
void | setEnabled (boolean b) |
Sets the enabled state of the Action . | |
boolean | isEnabled () |
Returns the enabled state of the Action . | |
void | addPropertyChangeListener (PropertyChangeListener listener) |
Adds a PropertyChange listener. | |
void | removePropertyChangeListener (PropertyChangeListener listener) |
Removes a PropertyChange listener. | |
Protected Member Functions | |
Action | getWrappedObject () |
Returns the wrapper object. | |
Private Attributes | |
Action | _wrappedObject |
The object being wrapped. |
All of this class' methods does nothing by themselves -- they only forward the call to the wrapped object.
Definition at line 74 of file ActionWrapper.java.
|
Constructs the wrapper.
Definition at line 80 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper._wrappedObject. |
|
Template method which wraps the doActionPerformed event handler with an exception-handling construct. When the wrapped event handler throws an exception, the exception is shown in a dialog. Reimplemented in com.arcle.rmt.j2se.swing.ui.ExceptionSafeActionWrapper. Definition at line 101 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |
|
Adds a
Containers and attached components use these methods to register interest in this
Definition at line 164 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |
|
Gets one of this object's properties using the associated key.
Definition at line 111 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). Referenced by com.arcle.rmt.j2se.swing.ui.ExceptionSafeActionWrapper.actionPerformed(). |
|
|
Returns the enabled state of the
When enabled, any component associated with this object is active and able to fire this object's
Definition at line 151 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |
|
Sets one of this object's properties using the associated key.
If the value has changed, a
Definition at line 125 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |
|
Removes a
Definition at line 175 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |
|
Sets the enabled state of the
When enabled, any component associated with this object is active and able to fire this object's
Definition at line 139 of file ActionWrapper.java. References com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |
|
The object being wrapped.
Definition at line 94 of file ActionWrapper.java. Referenced by com.arcle.rmt.j2se.swing.ui.ActionWrapper.ActionWrapper(), and com.arcle.rmt.j2se.swing.ui.ActionWrapper.getWrappedObject(). |