protected class AbstractLookupCommandDecorator.SubcommandsOwner extends Object implements CommandAware
| Constructor and Description |
|---|
AbstractLookupCommandDecorator.SubcommandsOwner(Command parent) |
| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand(CommandEnum id) |
SortedSet<Command> |
getCommands() |
PanelState |
getPanelState() |
Set<CommandEnum> |
getSupportedCommands() |
boolean |
hasCommand(CommandEnum id) |
boolean |
isCommandsSupressed() |
void |
process(Command command) |
void |
supressCommands(boolean supress) |
boolean |
unregisterCommand(CommandEnum id) |
public AbstractLookupCommandDecorator.SubcommandsOwner(Command parent)
public Command getCommand(CommandEnum id)
getCommand in interface CommandAwarepublic SortedSet<Command> getCommands()
getCommands in interface CommandAwarepublic PanelState getPanelState()
getPanelState in interface CommandAwarepublic Set<CommandEnum> getSupportedCommands()
getSupportedCommands in interface CommandAwarepublic boolean hasCommand(CommandEnum id)
hasCommand in interface CommandAwarepublic boolean isCommandsSupressed()
isCommandsSupressed in interface CommandAwarepublic void process(Command command) throws CommandProcessingException
process in interface CommandListenerCommandProcessingExceptionpublic void supressCommands(boolean supress)
supressCommands in interface CommandAwarepublic boolean unregisterCommand(CommandEnum id)
unregisterCommand in interface CommandAwareCopyright 2012-2013 Veniamin Isaias. All rights reserved.