public class AceDefaultCommandLine extends java.lang.Object implements AceCommandLine
| Constructor and Description |
|---|
AceDefaultCommandLine(com.google.gwt.user.client.ui.ValueBoxBase<java.lang.String> textBox)
Create command line wrapper around GWT text box.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Give current text which command line contains.
|
void |
setCommandLineListener(AceCommandLineListener listener)
Set listener getting callback from command line component.
|
void |
setValue(java.lang.String value)
Set text into command line.
|
public AceDefaultCommandLine(com.google.gwt.user.client.ui.ValueBoxBase<java.lang.String> textBox)
textBox - any GWT value box like TextBox or TextAreapublic void setCommandLineListener(AceCommandLineListener listener)
setCommandLineListener in interface AceCommandLinelistener - listener for command entering eventpublic java.lang.String getValue()
getValue in interface AceCommandLinepublic void setValue(java.lang.String value)
setValue in interface AceCommandLinevalue - text to be placed into command line