Interface AceCommandLine
- All Known Implementing Classes:
AceDefaultCommandLine
public interface AceCommandLine
Interface exposing command line functions used by editor. This way of
command line abstraction allows to have different implementations of
command line component. It could be GWT TextBox or one-line instance
of ace editor.
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()Give current text which command line contains.voidsetCommandLineListener(AceCommandLineListener listener) Set listener getting callback from command line component.voidSet text into command line.
-
Method Details
-
setCommandLineListener
Set listener getting callback from command line component. Typically editor registers listener itself.- Parameters:
listener- listener for command entering event
-
getValue
String getValue()Give current text which command line contains.- Returns:
- command stored in command line
-
setValue
Set text into command line. It could be for instance a result of command execution.- Parameters:
value- text to be placed into command line
-