uci.gef
Class CmdSequence
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--uci.gef.Cmd
|
+--uci.gef.CmdSequence
- public class CmdSequence
- extends Cmd
Cmd to execute a sequence of Cmd's. Needs-More-Work: Not done
yet. This could be part of a user macro recording feature. Or an
easy way for programmers to define new Cmds that are basically
sequence of existing Cmds.
- See Also:
- Serialized Form
|
Method Summary |
void |
add(Cmd a)
|
String |
dbgString()
|
void |
doIt()
Call the undoIt method of each subCmd. |
void |
undoIt()
Call the undoIt method of each subCmd, in reverse order! |
| Methods inherited from class uci.gef.Cmd |
about,
actionPerformed,
cmdAtIndex,
containsArg,
getArg,
getArg,
getName,
register,
registeredCmds,
setArg,
setName,
shouldBeEnabled,
updateEnabled |
CmdSequence
public CmdSequence()
- Construct a new CmdSequence
CmdSequence
public CmdSequence(String name)
CmdSequence
public CmdSequence(Cmd a1,
String name)
CmdSequence
public CmdSequence(Cmd a1,
Cmd a2,
String name)
CmdSequence
public CmdSequence(Cmd a1,
Cmd a2,
Cmd a3,
String name)
add
public void add(Cmd a)
dbgString
public String dbgString()
doIt
public void doIt()
- Call the undoIt method of each subCmd.
- Overrides:
- doIt in class Cmd
undoIt
public void undoIt()
- Call the undoIt method of each subCmd, in reverse order!
- Overrides:
- undoIt in class Cmd