Interface IELayoutMgrDND<LAYOUT_PROP extends LayoutProp>

All Superinterfaces:
IAdaptable, IELayoutMgr<LAYOUT_PROP>, IEUICompBase, IGProp<GProp<?>[]>, ILinkCapable, IPropCnr, IPropDesigner, ITooltipPropList, ITransferContainerProps, IUIBuilderFromVSLinkEnabler
All Known Subinterfaces:
IELayoutMgrSimpleDND<LAYOUT_PROP>
All Known Implementing Classes:
EAbsoluteLayout, EAccordionLayout, EBorderLayout, ECalendarLayout, EFlexLayout, EGridLayout, EHeadingLayout, EListLayout, EMapLayout, EMLGroupLayout, EMListLayout, ESwapLayout, ETabBarLayout, ETabLayout, EUITableLayout

public interface IELayoutMgrDND<LAYOUT_PROP extends LayoutProp> extends IELayoutMgr<LAYOUT_PROP>, ITooltipPropList
Interface implemented by layout managers that support drag-drop in the panel designer. Those are typically Absolute, Grid and Border layouts.
Author:
Christopher Mindus
  • Field Details

  • Method Details

    • convertLayout

      void convertLayout(ComplexOperation op, UIContainer cnr, LayoutMgr<?> oldLayout)
      Called to convert one layout to another when the layout has been dropped into a container. The conversion must apply to all components in the container, e.g. that all components gets the GridData instead of AbsoluteData.
      Parameters:
      op - The complex operation instance.
      cnr - The container.
      oldLayout - Old layout, already removed from the container and disposed of, null if none previously existed.
    • onDrop

      UIComp[] onDrop(DropInfo di)
      Performs a drop from JavaScript in this layout manager with the specified properties and the layout manager specific transaction data.
      Parameters:
      di - The drop information instance.
      Returns:
      The created components that will be selected, or null for aborted operation or failure.