public class AceDefaultCommandLine extends Object implements AceCommandLine
| 构造器和说明 |
|---|
AceDefaultCommandLine(com.google.gwt.user.client.ui.ValueBoxBase<String> textBox)
Create command line wrapper around GWT text box.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getValue()
Give current text which command line contains.
|
void |
setCommandLineListener(AceCommandLineListener listener)
Set listener getting callback from command line component.
|
void |
setValue(String value)
Set text into command line.
|
public AceDefaultCommandLine(com.google.gwt.user.client.ui.ValueBoxBase<String> textBox)
textBox - any GWT value box like TextBox or TextAreapublic void setCommandLineListener(AceCommandLineListener listener)
setCommandLineListener 在接口中 AceCommandLinelistener - listener for command entering eventpublic String getValue()
getValue 在接口中 AceCommandLinepublic void setValue(String value)
setValue 在接口中 AceCommandLinevalue - text to be placed into command lineCopyright © 2021. All rights reserved.