Class JmixWindowConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
com.vaadin.client.ui.AbstractSingleComponentContainerConnector
com.vaadin.client.ui.window.WindowConnector
io.jmix.ui.widget.client.window.JmixWindowConnector
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.Paintable, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasContextHelpConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.client.ui.layout.MayScrollChildren, com.vaadin.client.ui.ManagedLayout, com.vaadin.client.ui.PostLayoutListener, com.vaadin.client.ui.SimpleManagedLayout, com.vaadin.client.ui.window.WindowMoveHandler, com.vaadin.shared.Connector, Serializable

public class JmixWindowConnector extends com.vaadin.client.ui.window.WindowConnector
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected int
     
     

    Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    protected void
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     

    Methods inherited from class com.vaadin.client.ui.window.WindowConnector

    delegateCaptionHandling, hasTooltip, layout, onConnectorHierarchyChange, onMaximizeRestore, onUnregister, onWindowMove, postLayout, setWindowOrderAndPosition, updateCaption, updateComponentSize, updateFromUIDL, updateWindowMode, updateWindowPosition

    Methods inherited from class com.vaadin.client.ui.AbstractSingleComponentContainerConnector

    getContent, getContentWidget

    Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector

    addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents

    Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector

    contextHelpIconClick, contextHelpIconClick, createWidget, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasContextHelpIconListeners, isContextHelpIconEnabled, isContextHelpTooltipEnabled, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, 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

    flush, getLayoutManager, getTooltipInfo, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId

    Methods inherited from interface com.vaadin.client.HasComponentsConnector

    addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents

    Methods inherited from interface com.vaadin.client.ServerConnector

    addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Field Details

    • rpc

      protected JmixWindowServerRpc rpc
    • lastContextMenuX

      protected int lastContextMenuX
    • lastContextMenuY

      protected int lastContextMenuY
  • Constructor Details

    • JmixWindowConnector

      public JmixWindowConnector()
  • Method Details

    • getState

      public JmixWindowState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.window.WindowConnector
    • getWidget

      public JmixWindowWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.ui.window.WindowConnector
    • init

      protected void init()
      Overrides:
      init in class com.vaadin.client.ui.window.WindowConnector
    • 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 com.vaadin.client.ui.window.WindowConnector