public class CodeMirrorPanel
extends VerticalLayoutContainer
Modifier and Type | Class and Description |
---|---|
static interface |
CodeMirrorPanel.ToolBarEnhancer |
Constructor and Description |
---|
CodeMirrorPanel(CodeMirrorConfig cmc) |
CodeMirrorPanel(CodeMirrorConfig cmc,
CodeMirrorPanel.ToolBarEnhancer enhancer) |
CodeMirrorPanel(java.lang.String mode) |
CodeMirrorPanel(java.lang.String mode,
CodeMirrorPanel.ToolBarEnhancer enhancer) |
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addValueChangeHandler(<any> handler) |
java.lang.String |
getCurrentValue() |
CodeMirrorPanel.ToolBarEnhancer |
getEnhancer() |
TextArea |
getTextArea() |
java.lang.String |
getValue() |
void |
onValueChange(<any> event) |
void |
scrollTo(int position) |
void |
setNoOpacity() |
void |
setValue(java.lang.String value) |
void |
setValue(java.lang.String value,
boolean fireEvents) |
public CodeMirrorPanel(java.lang.String mode)
public CodeMirrorPanel(java.lang.String mode, CodeMirrorPanel.ToolBarEnhancer enhancer)
public CodeMirrorPanel(CodeMirrorConfig cmc)
public CodeMirrorPanel(CodeMirrorConfig cmc, CodeMirrorPanel.ToolBarEnhancer enhancer)
public CodeMirrorPanel.ToolBarEnhancer getEnhancer()
public TextArea getTextArea()
public java.lang.String getValue()
public java.lang.String getCurrentValue()
public void setValue(java.lang.String value)
public void setValue(java.lang.String value, boolean fireEvents)
public HandlerRegistration addValueChangeHandler(<any> handler)
public void onValueChange(<any> event)
public void setNoOpacity()
public void scrollTo(int position)