|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Executable
The code associated with a Command.
| Method Summary | |
|---|---|
boolean |
execute(String param)
Runs this executable with the given parameter. |
String |
getParameter()
|
boolean |
isEnabled()
|
boolean |
isExecuted()
|
boolean |
isSupported()
|
| Method Detail |
|---|
boolean execute(String param)
param - the execution parameter
true if the execution succeeds, false otherwiseCommandManager.execute(Command, String)boolean isSupported()
true if this executable is supported by its underlying execution target, false otherwiseCommandManager.isSupported(Command)boolean isEnabled()
true if this executable can be executed on its underlying execution target, false
otherwiseCommandManager.isEnabled(Command)boolean isExecuted()
true if this executable has been executed on its underlying execution target, false
otherwise area.CommandManager.isExecuted(Command)String getParameter()
isExecuted() returns true, null otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||