edu.toronto.cs.util
Class UserActElement
java.lang.Object
javax.swing.AbstractAction
edu.toronto.cs.util.UserActElement
- All Implemented Interfaces:
- UserActChain, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- FinalUserActElement, UserActionAdapter
public abstract class UserActElement
- extends javax.swing.AbstractAction
- implements UserActChain
- 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 |
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 |
UserActElement
public UserActElement(java.lang.String _name)
UserActElement
public UserActElement(java.lang.String _name,
boolean imm,
boolean autor)
UserActElement
public UserActElement(boolean imm,
boolean autor)
UserActElement
public UserActElement()
add
public UserActChain add(UserActChain a)
- Specified by:
add
in interface UserActChain
reset
public void reset()
- Specified by:
reset
in interface UserActChain
confirm
public boolean confirm(UserAct stateinfo)
- Specified by:
confirm
in interface UserActChain
confirm
public boolean confirm()
- Specified by:
confirm
in interface UserActChain
doConfirm
public abstract boolean doConfirm(UserAct stateinfo)
execute
public boolean execute(UserAct stateinfo)
- Specified by:
execute
in interface UserActChain
doExecute
public boolean doExecute(UserAct stateinfo)
get
public UserActChain get(int i)
- Specified by:
get
in interface UserActChain
get
public UserActChain get(int i,
int l)
- Specified by:
get
in interface UserActChain
length
public int length()
- Specified by:
length
in interface UserActChain
length
public int length(int i)
- Specified by:
length
in interface UserActChain
stage
public int stage()
- Specified by:
stage
in interface UserActChain
stage
public int stage(int i)
- Specified by:
stage
in interface UserActChain
immanent
public boolean immanent()
- Specified by:
immanent
in interface UserActChain
getName
public java.lang.String getName()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
errorHandle
protected void errorHandle(UserAct u)