|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LSConsoleModel
A data model representing LS Console.
| Method Summary | |
|---|---|
void |
addLSConsoleListener(LSConsoleListener l)
Registers the specified listener for receiving event messages. |
void |
addToCommandHistory(java.lang.String command)
Adds the specified command to command history. |
void |
browseCommandHistoryDown()
Browses the command history one line down. |
void |
browseCommandHistoryFirst()
Browses to the first line of the command history. |
void |
browseCommandHistoryLast()
Browses to the last line of the command history. |
void |
browseCommandHistoryUp()
Browses the command history one line up. |
void |
clearCommandHistory()
Clears the complete/multisession command history. |
void |
clearSessionHistory()
Clears the session history. |
void |
execCommand()
Executes the command specified in the command line. |
java.lang.String[] |
getCommandHistory()
Gets the complete command history, excluding blank lines and comments. |
int |
getCommandHistorySize()
Determines the maximum number of lines to be kept in the command history. |
java.lang.String |
getCommandLineText()
Gets the text in the command line. |
java.lang.String[] |
getCommandList()
Gets a list of all LSCP commands. |
java.lang.String |
getLastExecutedCommand()
Gets the last executed command. |
java.lang.String[] |
getSessionHistory()
Gets the command history of the current session, including blank lines and comments. |
void |
removeLSConsoleListener(LSConsoleListener l)
Removes the specified listener. |
java.lang.String[] |
searchCommandHistory()
Searches the command history for commands containing the string returned by getCommandLineText(). |
java.lang.String[] |
searchCommandHistory(java.lang.String substring)
Searches the command history for commands containing substring. |
java.lang.String[] |
searchCommandList()
Searches the LSCP command list for commands containing the string returned by getCommandLineText(). |
java.lang.String[] |
searchCommandList(java.lang.String substring)
Searches the LSCP command list for commands containing substring. |
void |
setCommandHistorySize(int size)
Sets the maximum number of lines to be kept in the command history. |
void |
setCommandLineText(java.lang.String cmdLine)
Sets the text in the command line. |
| Method Detail |
|---|
void addLSConsoleListener(LSConsoleListener l)
l - The LSConsoleListener to register.void removeLSConsoleListener(LSConsoleListener l)
l - The LSConsoleListener to remove.void execCommand()
java.lang.String getLastExecutedCommand()
void setCommandLineText(java.lang.String cmdLine)
cmdLine - The new command line text.java.lang.String getCommandLineText()
java.lang.String[] getSessionHistory()
void clearSessionHistory()
getSessionHistory()void addToCommandHistory(java.lang.String command)
command to command history.
command - The command to be added to command history.java.lang.String[] getCommandHistory()
int getCommandHistorySize()
void setCommandHistorySize(int size)
size - Determines the maximum number of lines to be kept in the command history.void clearCommandHistory()
getCommandHistory()java.lang.String[] getCommandList()
java.lang.String[] searchCommandList()
getCommandLineText().
getCommandLineText().getCommandList()java.lang.String[] searchCommandList(java.lang.String substring)
substring.
substring - The substring to be used to perform the search.
substring.getCommandList()java.lang.String[] searchCommandHistory()
getCommandLineText().
getCommandLineText().getCommandHistory()java.lang.String[] searchCommandHistory(java.lang.String substring)
substring.
substring - The substring to be used to perform the search.
substring.getCommandList()void browseCommandHistoryUp()
void browseCommandHistoryDown()
void browseCommandHistoryFirst()
void browseCommandHistoryLast()
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||