|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandListener
Interface that must be implemented in order to be notified of executed commands.
| Method Summary | |
|---|---|
boolean |
onBeforeCommand(CommandManager sender,
Command command,
String param)
Notifies that the given command is about to be executed with the given parameter by the specified command manager. |
void |
onCommand(CommandManager sender,
Command command,
String param)
Notifies that the given command has been executed with the given parameter by the specified command manager. |
| Method Detail |
|---|
boolean onBeforeCommand(CommandManager sender,
Command command,
String param)
sender - The command manager that is about to execute the specified command.command - The command that will be executed.param - The parameter that will be passed to the command.
void onCommand(CommandManager sender,
Command command,
String param)
sender - The command manager that executed the command.command - The command executed.param - The parameter used when the command was executed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||