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:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.widget.client.addon.aceeditor.AceEditorConnector
AceEditorConnector.SendCond, AceEditorConnector.SendTimer, AceEditorConnector.TextChangeEventMode
-
Field Summary
Fields inherited from class io.jmix.ui.widget.client.addon.aceeditor.AceEditorConnector
changeMode, changeTimeout, clientRpc, listenToFocusChanges, listenToSelectionChanges, onRoundtrip, scrollToRowAfterApplyingDiff, selectionAfterApplyingDiff, sendAfterRoundtrip, sendTimer, serverRpc, shadow
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextHelpIconClick
(com.google.gwt.dom.client.NativeEvent event) void
contextHelpIconClick
(com.google.gwt.event.dom.client.MouseEvent event) protected com.google.gwt.user.client.ui.Widget
getState()
com.vaadin.client.TooltipInfo
getTooltipInfo
(com.google.gwt.dom.client.Element element) boolean
protected boolean
boolean
boolean
void
onStateChanged
(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) protected void
sendToServer
(AceEditorConnector.SendCond send, boolean immediately) Methods inherited from class io.jmix.ui.widget.client.addon.aceeditor.AceEditorConnector
applyConfig, changed, changeTextChangeEventMode, flush, focusChanged, init, isOnRoundtrip, onConnectorHierarchyChange, selectionChanged, sendChangeAccordingToMode, sendChangeAccordingToMode, sendToServerDelayed, sendToServerImmediately, sendToServerImmediately, sendWhenPossible, sendWhenPossible, setTextChangeEventMode, setTextChangeTimeout, updateCaption
Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
delegateCaptionHandling, getIcon, getIconUri, getLayoutManager, hasContextHelpIconListeners, isContextHelpIconEnabled, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.client.ComponentConnector
delegateCaptionHandling, flush, getLayoutManager, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
-
Constructor Details
-
JmixSourceCodeEditorConnector
public JmixSourceCodeEditorConnector()
-
-
Method Details
-
createWidget
protected com.google.gwt.user.client.ui.Widget createWidget()- Overrides:
createWidget
in classAceEditorConnector
-
sendToServer
- Overrides:
sendToServer
in classAceEditorConnector
-
isRequiredIndicatorVisible
public boolean isRequiredIndicatorVisible()- Specified by:
isRequiredIndicatorVisible
in interfacecom.vaadin.client.ui.HasRequiredIndicator
-
isReadOnly
public boolean isReadOnly() -
hasTooltip
public boolean hasTooltip()- Specified by:
hasTooltip
in interfacecom.vaadin.client.ComponentConnector
- Overrides:
hasTooltip
in classcom.vaadin.client.ui.AbstractComponentConnector
-
getTooltipInfo
public com.vaadin.client.TooltipInfo getTooltipInfo(com.google.gwt.dom.client.Element element) - Specified by:
getTooltipInfo
in interfacecom.vaadin.client.ComponentConnector
- Overrides:
getTooltipInfo
in classcom.vaadin.client.ui.AbstractComponentConnector
-
isContextHelpTooltipEnabled
protected boolean isContextHelpTooltipEnabled()- Overrides:
isContextHelpTooltipEnabled
in classcom.vaadin.client.ui.AbstractComponentConnector
-
getWidget
- Specified by:
getWidget
in interfacecom.vaadin.client.HasWidget
- Overrides:
getWidget
in classAceEditorConnector
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ComponentConnector
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classAceEditorConnector
-
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) - Specified by:
onStateChanged
in interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler
- Overrides:
onStateChanged
in classAceEditorConnector
-
contextHelpIconClick
public void contextHelpIconClick(com.google.gwt.dom.client.NativeEvent event) - Specified by:
contextHelpIconClick
in interfacecom.vaadin.client.ui.HasContextHelpConnector
- Overrides:
contextHelpIconClick
in classcom.vaadin.client.ui.AbstractComponentConnector
-
contextHelpIconClick
public void contextHelpIconClick(com.google.gwt.event.dom.client.MouseEvent event) - Specified by:
contextHelpIconClick
in interfacecom.vaadin.client.ui.HasContextHelpConnector
- Overrides:
contextHelpIconClick
in classcom.vaadin.client.ui.AbstractComponentConnector
-