com.jaxfront.core.rule
Class DefaultActionImpl
java.lang.Object
javax.swing.AbstractAction
com.jaxfront.core.rule.DefaultActionImpl
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class DefaultActionImpl
- extends javax.swing.AbstractAction
- implements Action
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultActionImpl
public DefaultActionImpl()
DefaultActionImpl
public DefaultActionImpl(java.lang.String ruleId)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
getCommandName
public java.lang.String getCommandName()
getDOM
public Document getDOM()
getRuleId
public java.lang.String getRuleId()
getSourceType
public Type getSourceType()
perform
public void perform(Type eventSource,
Type target)
- Description copied from interface:
Action
- Performs any kind of action command.
- Parameters:
eventSource - type which caused the event (event source)target - target type to perform action on
setRuleId
public void setRuleId(java.lang.String id)