org.jhotdraw.application.action
Class PropertyAction
java.lang.Object
javax.swing.AbstractAction
org.jhotdraw.application.action.AbstractApplicationAction
org.jhotdraw.application.action.AbstractDocumentViewAction
org.jhotdraw.application.action.PropertyAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class PropertyAction
- extends AbstractDocumentViewAction
PropertyAction.
- Version:
- 1.0 June 18, 2006 Created.
- Author:
- Werner Randelshofer.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary |
PropertyAction(java.lang.String propertyName,
java.lang.Class propertyClass,
java.lang.Object propertyValue)
|
PropertyAction(java.lang.String propertyName,
java.lang.Object propertyValue)
Creates a new instance. |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyAction
public PropertyAction(java.lang.String propertyName,
java.lang.Object propertyValue)
- Creates a new instance.
PropertyAction
public PropertyAction(java.lang.String propertyName,
java.lang.Class propertyClass,
java.lang.Object propertyValue)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
installProjectListeners
protected void installProjectListeners(DocumentView p)
- Description copied from class:
AbstractDocumentViewAction
- Installs listeners on the documentView object.
- Overrides:
installProjectListeners
in class AbstractDocumentViewAction
uninstallProjectListeners
protected void uninstallProjectListeners(DocumentView p)
- Installs listeners on the documentView object.
- Overrides:
uninstallProjectListeners
in class AbstractDocumentViewAction