Class DDAbsoluteLayoutConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
com.vaadin.client.ui.AbstractComponentContainerConnector
com.vaadin.client.ui.absolutelayout.AbsoluteLayoutConnector
io.jmix.ui.widget.client.addon.dragdroplayouts.ui.absolutelayout.DDAbsoluteLayoutConnector
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.DirectionalManagedLayout, 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.ManagedLayout, com.vaadin.shared.Connector, VHasDragCaptionProvider, VHasDragFilter, VHasGrabFilter, Serializable

public class DDAbsoluteLayoutConnector extends com.vaadin.client.ui.absolutelayout.AbsoluteLayoutConnector implements com.vaadin.client.Paintable, VHasDragFilter, VHasGrabFilter, VHasDragCaptionProvider
See Also:
  • Field Summary

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

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the drag filter used by the layout
     
     
     
     
    protected void
     
    void
     
    void
     
    void
     
    void
     
    void
    updateFromUIDL(com.vaadin.client.UIDL uidl, com.vaadin.client.ApplicationConnection client)
    TODO Remove this when drag & drop is done properly in core

    Methods inherited from class com.vaadin.client.ui.absolutelayout.AbsoluteLayoutConnector

    getConnectorForElement, getConnectorForElement, layoutHorizontally, layoutVertically, onConnectorHierarchyChange, onStateChanged, updateCaption

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

    addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents

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

    contextHelpIconClick, contextHelpIconClick, createWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasContextHelpIconListeners, hasTooltip, isContextHelpIconEnabled, isContextHelpTooltipEnabled, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, 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, getTooltipInfo, hasTooltip, 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, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Constructor Details

    • DDAbsoluteLayoutConnector

      public DDAbsoluteLayoutConnector()
  • Method Details

    • getWidget

      public VDDAbsoluteLayout getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.ui.absolutelayout.AbsoluteLayoutConnector
    • getState

      public DDAbsoluteLayoutState 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.absolutelayout.AbsoluteLayoutConnector
    • init

      protected void init()
      Overrides:
      init in class com.vaadin.client.ui.AbstractConnector
    • updateFromUIDL

      public void updateFromUIDL(com.vaadin.client.UIDL uidl, com.vaadin.client.ApplicationConnection client)
      TODO Remove this when drag & drop is done properly in core
      Specified by:
      updateFromUIDL in interface com.vaadin.client.Paintable
    • onUnregister

      public void onUnregister()
      Specified by:
      onUnregister in interface com.vaadin.client.ServerConnector
      Overrides:
      onUnregister in class com.vaadin.client.ui.AbstractComponentConnector
    • getDragMode

      public LayoutDragMode getDragMode()
    • getDragFilter

      public VDragFilter getDragFilter()
      Description copied from interface: VHasDragFilter
      Returns the drag filter used by the layout
      Specified by:
      getDragFilter in interface VHasDragFilter
      Returns:
    • setDragFilter

      public void setDragFilter(VDragFilter filter)
      Specified by:
      setDragFilter in interface VHasDragFilter
    • getGrabFilter

      public VGrabFilter getGrabFilter()
      Specified by:
      getGrabFilter in interface VHasGrabFilter
    • setGrabFilter

      public void setGrabFilter(VGrabFilter grabFilter)
      Specified by:
      setGrabFilter in interface VHasGrabFilter
    • setDragCaptionProvider

      public void setDragCaptionProvider(VDragCaptionProvider dragCaption)
      Specified by:
      setDragCaptionProvider in interface VHasDragCaptionProvider
    • getDragCaptionProvider

      public VDragCaptionProvider getDragCaptionProvider()
      Specified by:
      getDragCaptionProvider in interface VHasDragCaptionProvider