Class JmixSourceCodeEditorWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.FocusWidget
io.jmix.ui.widget.client.addon.aceeditor.AceEditorWidget
io.jmix.ui.widget.client.sourcecodeeditor.JmixSourceCodeEditorWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllDragAndDropHandlers, com.google.gwt.event.dom.client.HasAllFocusHandlers, com.google.gwt.event.dom.client.HasAllGestureHandlers, com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasAllTouchHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, com.google.gwt.event.dom.client.HasDragEndHandlers, com.google.gwt.event.dom.client.HasDragEnterHandlers, com.google.gwt.event.dom.client.HasDragHandlers, com.google.gwt.event.dom.client.HasDragLeaveHandlers, com.google.gwt.event.dom.client.HasDragOverHandlers, com.google.gwt.event.dom.client.HasDragStartHandlers, com.google.gwt.event.dom.client.HasDropHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasGestureChangeHandlers, com.google.gwt.event.dom.client.HasGestureEndHandlers, com.google.gwt.event.dom.client.HasGestureStartHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.dom.client.HasTouchCancelHandlers, com.google.gwt.event.dom.client.HasTouchEndHandlers, com.google.gwt.event.dom.client.HasTouchMoveHandlers, com.google.gwt.event.dom.client.HasTouchStartHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasFocus, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesClickEvents, com.google.gwt.user.client.ui.SourcesFocusEvents, com.google.gwt.user.client.ui.SourcesKeyboardEvents, com.google.gwt.user.client.ui.SourcesMouseEvents, GwtAceChangeCursorHandler, GwtAceChangeHandler, GwtAceChangeSelectionHandler, GwtAceFocusBlurHandler

public class JmixSourceCodeEditorWidget extends AceEditorWidget
  • Field Details

    • readOnly

      protected boolean readOnly
    • tabIndex

      protected int tabIndex
    • handleTabKey

      protected boolean handleTabKey
  • Constructor Details

    • JmixSourceCodeEditorWidget

      public JmixSourceCodeEditorWidget()
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class AceEditorWidget
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.google.gwt.user.client.ui.Widget
    • getTextAreaElement

      protected com.google.gwt.dom.client.Element getTextAreaElement()
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface com.google.gwt.user.client.ui.HasEnabled
      Overrides:
      setEnabled in class AceEditorWidget
    • updateTabIndex

      protected void updateTabIndex()
    • setTabIndex

      public void setTabIndex(int index)
      Specified by:
      setTabIndex in interface com.google.gwt.user.client.ui.Focusable
      Overrides:
      setTabIndex in class com.google.gwt.user.client.ui.FocusWidget
    • getTabIndex

      public int getTabIndex()
      Specified by:
      getTabIndex in interface com.google.gwt.user.client.ui.Focusable
      Overrides:
      getTabIndex in class com.google.gwt.user.client.ui.FocusWidget
    • setReadOnly

      public void setReadOnly(boolean readOnly)
      Overrides:
      setReadOnly in class AceEditorWidget
    • setHandleTabKey

      public void setHandleTabKey(boolean handleTabKey)
    • getPrintMarginColumn

      public int getPrintMarginColumn()
    • setPrintMarginColumn

      public void setPrintMarginColumn(int printMarginColumn)
    • unbindTabKey

      public void unbindTabKey(com.google.gwt.core.client.JavaScriptObject editor)
    • setRendererPrintMarginColumn

      protected void setRendererPrintMarginColumn(GwtAceEditor editor, int printMarginColumn)
    • getRendererPrintMarginColumn

      protected int getRendererPrintMarginColumn(GwtAceEditor editor)
    • resetEditHistory

      public void resetEditHistory()
    • resetEditHistory

      public final void resetEditHistory(GwtAceEditor editor)