Class SourceCodeEditor

  • All Implemented Interfaces:
    com.google.gwt.user.client.ui.IsWidget

    @Dependent
    public class SourceCodeEditor
    extends Object
    implements com.google.gwt.user.client.ui.IsWidget
    Source code editor supporting the HTML and Javascript languages.

    (Check out the SourceCodeType interface which contains the list of supported languages)

    • Method Detail

      • asWidget

        public com.google.gwt.user.client.ui.Widget asWidget()
        Specified by:
        asWidget in interface com.google.gwt.user.client.ui.IsWidget
      • getCode

        public String getCode()
      • hasErrors

        public boolean hasErrors()
      • focus

        public void focus()
      • validateSourceCode

        public String validateSourceCode​(String newCode)
      • onVariableSelected

        public void onVariableSelected​(String var)
      • onSourceCodeChanged

        public boolean onSourceCodeChanged​(String newCode)