Class JmixSourceCodeEditorConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
io.jmix.ui.widget.client.addon.aceeditor.AceEditorConnector
io.jmix.ui.widget.client.sourcecodeeditor.JmixSourceCodeEditorConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.vaadin.client.HasComponentsConnector, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasContextHelpConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.client.ui.HasRequiredIndicator, com.vaadin.shared.Connector, AceEditorWidget.FocusChangeListener, AceEditorWidget.SelectionChangeListener, AceEditorWidget.TextChangeListener, Serializable

public class JmixSourceCodeEditorConnector extends AceEditorConnector implements com.vaadin.client.ui.HasContextHelpConnector, com.vaadin.client.ui.HasRequiredIndicator
See Also:
  • Constructor Details

    • JmixSourceCodeEditorConnector

      public JmixSourceCodeEditorConnector()
  • Method Details

    • createWidget

      protected com.google.gwt.user.client.ui.Widget createWidget()
      Overrides:
      createWidget in class AceEditorConnector
    • sendToServer

      protected void sendToServer(AceEditorConnector.SendCond send, boolean immediately)
      Overrides:
      sendToServer in class AceEditorConnector
    • isRequiredIndicatorVisible

      public boolean isRequiredIndicatorVisible()
      Specified by:
      isRequiredIndicatorVisible in interface com.vaadin.client.ui.HasRequiredIndicator
    • isReadOnly

      public boolean isReadOnly()
    • hasTooltip

      public boolean hasTooltip()
      Specified by:
      hasTooltip in interface com.vaadin.client.ComponentConnector
      Overrides:
      hasTooltip in class com.vaadin.client.ui.AbstractComponentConnector
    • getTooltipInfo

      public com.vaadin.client.TooltipInfo getTooltipInfo(com.google.gwt.dom.client.Element element)
      Specified by:
      getTooltipInfo in interface com.vaadin.client.ComponentConnector
      Overrides:
      getTooltipInfo in class com.vaadin.client.ui.AbstractComponentConnector
    • isContextHelpTooltipEnabled

      protected boolean isContextHelpTooltipEnabled()
      Overrides:
      isContextHelpTooltipEnabled in class com.vaadin.client.ui.AbstractComponentConnector
    • getWidget

      public JmixSourceCodeEditorWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class AceEditorConnector
    • getState

      public JmixSourceCodeEditorState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class AceEditorConnector
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class AceEditorConnector
    • contextHelpIconClick

      public void contextHelpIconClick(com.google.gwt.dom.client.NativeEvent event)
      Specified by:
      contextHelpIconClick in interface com.vaadin.client.ui.HasContextHelpConnector
      Overrides:
      contextHelpIconClick in class com.vaadin.client.ui.AbstractComponentConnector
    • contextHelpIconClick

      public void contextHelpIconClick(com.google.gwt.event.dom.client.MouseEvent event)
      Specified by:
      contextHelpIconClick in interface com.vaadin.client.ui.HasContextHelpConnector
      Overrides:
      contextHelpIconClick in class com.vaadin.client.ui.AbstractComponentConnector