Class CodeMirror

java.lang.Object
net.datenwerke.gxtdto.client.codemirror.CodeMirror

public class CodeMirror extends Object
  • Method Details

    • fromJsObject

      public static CodeMirror fromJsObject(Object jsobject)
    • fireBlurAndChange

      public void fireBlurAndChange()
    • focus

      public void focus()
    • setValue

      public void setValue(String text)
    • getValue

      public String getValue()
    • appendText

      public void appendText(String text)
    • appendText

      public void appendText(String text, Object pos)
    • getCurrentLine

      public int getCurrentLine()
    • getCurrentTokenValue

      public String getCurrentTokenValue()
    • getLine

      public String getLine(int n)
    • setLine

      public void setLine(int n, String text)
    • getCursorPos

      public Object getCursorPos()
    • setCursorPos

      public void setCursorPos(Object cursor)
    • getOption

      public String getOption(String option)
    • setOption

      public void setOption(String option, String value)
    • setSize

      public void setSize(int width, int height)
    • scrollTo

      public void scrollTo(int position)
    • fromTextArea

      public static CodeMirror fromTextArea(CodeMirrorTextArea codeMirrorTextArea, CodeMirrorConfig config)
    • getCodeMirrorTextArea

      public CodeMirrorTextArea getCodeMirrorTextArea()