|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandProcessorStack
A stack of command processors providing a simple state manager. The top of the stack will be the first to receive commands. Different implementations will do different things with commands that cannot be sent to the top stack entry because their canExecute(Command) method returns false.
Method Summary | |
---|---|
StackableCommandProcessor |
peekCommandProcessor()
Returns the current top command processor. |
StackableCommandProcessor |
popCommandProcessor()
Pops the current command processor. |
void |
pushCommandProcessor(StackableCommandProcessor cmdProc)
Pushes a new command processor onto the stack. |
Methods inherited from interface org.progeeks.cmd.CommandProcessor |
---|
execute |
Method Detail |
---|
void pushCommandProcessor(StackableCommandProcessor cmdProc)
StackableCommandProcessor popCommandProcessor()
StackableCommandProcessor peekCommandProcessor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |