edu.toronto.cs.util
Class UserActionAdapter

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.toronto.cs.util.UserActElement
          extended by edu.toronto.cs.util.UserActionAdapter
All Implemented Interfaces:
UserActChain, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class UserActionAdapter
extends UserActElement

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
UserActionAdapter(javax.swing.Action a, boolean _imm, boolean autor)
           
 
Method Summary
 boolean doConfirm(UserAct stateinfo)
           
 boolean doExecute(UserAct stateinfo)
           
 
Methods inherited from class edu.toronto.cs.util.UserActElement
actionPerformed, add, confirm, confirm, errorHandle, execute, get, get, getName, immanent, length, length, reset, stage, stage
 
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
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

UserActionAdapter

public UserActionAdapter(javax.swing.Action a,
                         boolean _imm,
                         boolean autor)
Method Detail

doConfirm

public boolean doConfirm(UserAct stateinfo)
Specified by:
doConfirm in class UserActElement

doExecute

public boolean doExecute(UserAct stateinfo)
Overrides:
doExecute in class UserActElement