|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lessvoid.nifty.controls.ConsoleExecuteCommandEvent
public class ConsoleExecuteCommandEvent
Executed when a new command is being issued on the console.
| Constructor Summary | |
|---|---|
ConsoleExecuteCommandEvent(Console console,
String commandLine)
|
|
| Method Summary | |
|---|---|
int |
getArgumentCount()
Get the number of arguments, that means all arguments (separated by whitespace). |
String[] |
getArguments()
Get all of the command arguments as an array. |
String |
getCommand()
Get the command (the first string in the whitespace separated commandline). |
String |
getCommandLine()
Get the complete command line as send from the console. |
Console |
getConsole()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleExecuteCommandEvent(Console console,
String commandLine)
| Method Detail |
|---|
public Console getConsole()
public String getCommandLine()
public int getArgumentCount()
public String getCommand()
public String[] getArguments()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||