public interface EditorModel
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | EditorModel.EditorModelListenerInterface for listeners to editor text changes | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addEditorModelListener(EditorModel.EditorModelListener editorModelListener)Adds a listener for text changes | 
| String | getEditorText()Returns the text to display in the editor | 
| Settings | getSettings()Return the settings to use for storing customizations (line-numbers, etc) | 
| void | removeEditorModelListener(EditorModel.EditorModelListener editorModelListener)Removes a listener for text changes | 
| void | setEditorText(String text)Save the text in the editor, usually called when the contents of the
 editor have changed | 
Settings getSettings()
String getEditorText()
void setEditorText(String text)
text - the editor text to savevoid addEditorModelListener(EditorModel.EditorModelListener editorModelListener)
editorModelListener - void removeEditorModelListener(EditorModel.EditorModelListener editorModelListener)
editorModelListener - Copyright © 2019. All Rights Reserved.