com.jaxfront.core.rule
Class DefaultActionImpl

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by 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

Field Summary
 
Fields inherited from interface com.jaxfront.core.rule.Action
ACTION_DOM, ACTION_IDENTIFIER, ACTION_NAME, ACTION_SOURCE
 
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
 
Constructor Summary
DefaultActionImpl()
           
DefaultActionImpl(java.lang.String ruleId)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 java.lang.String getCommandName()
           
 Document getDOM()
           
 java.lang.String getRuleId()
           
 Type getSourceType()
           
 void perform(Type eventSource, Type target)
          Performs any kind of action command.
 void setRuleId(java.lang.String id)
           
 
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
 

Constructor Detail

DefaultActionImpl

public DefaultActionImpl()

DefaultActionImpl

public DefaultActionImpl(java.lang.String ruleId)
Method Detail

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)