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 AceCommandLine
listener
- listener for command entering eventpublic java.lang.String getValue()
getValue
in interface AceCommandLine
public void setValue(java.lang.String value)
setValue
in interface AceCommandLine
value
- text to be placed into command line