luxor
Class XulAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--luxor.XulAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public abstract class XulAction
- extends javax.swing.AbstractAction
- 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 |
XulAction(java.lang.String id)
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent ev)
|
void |
addListener(XulNode node)
|
abstract void |
execute()
|
void |
execute(java.util.Map args)
note: overwritte this method in derived class if you want to process
arguments the default behavior is to ignore arguments |
java.lang.String |
getId()
|
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XulAction
public XulAction(java.lang.String id)
getId
public java.lang.String getId()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
addListener
public void addListener(XulNode node)
execute
public abstract void execute()
execute
public void execute(java.util.Map args)
- note: overwritte this method in derived class if you want to process
arguments the default behavior is to ignore arguments
Copyright © 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by