Class EMapLayout

All Implemented Interfaces:
ILinkCapable, IUIBuilderFromVSLinkEnabler, IELayoutMgr<EMapData>, IELayoutMgrDND<EMapData>, IELayoutMgrSimpleDND<EMapData>, IEUICompBase, IReplaceLayoutData, IPropDesigner, ITransferContainerProps, ITooltipPropList, EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable, IAdaptable

public class EMapLayout extends MapLayout implements IELayoutMgrSimpleDND<EMapData>
Map layout.
Author:
Christopher Mindus
  • Constructor Details

    • EMapLayout

      public EMapLayout()
      Creates the property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EMapLayout

      public EMapLayout(Atom propertyAtom)
      Creates the property container with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • getLayoutDataClass

      public Class<EMapData> getLayoutDataClass()
      Gets the layout data class.
      Specified by:
      getLayoutDataClass in interface IELayoutMgr<EMapData>
    • getDesigner

      public UIDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • getPropertyEditorLayoutDataSetup

      public Object[] getPropertyEditorLayoutDataSetup()
      Gets the layout data settings for a component.
      Specified by:
      getPropertyEditorLayoutDataSetup in interface IELayoutMgr<EMapData>
      Returns:
      The layout additional objects, or null for none.
    • getCNImage

      public Image getCNImage(boolean isMobile)
      Gets the image for the Common Navigator.
      Specified by:
      getCNImage in interface IEUICompBase
      Parameters:
      isMobile - The mobile theme flag.
      Returns:
      Image or null if there is no image.
    • getCNDescriptionType

      public String getCNDescriptionType()
      Provide a type description for the status bar view, if available.
      Specified by:
      getCNDescriptionType in interface IEUICompBase
      Specified by:
      getCNDescriptionType in interface ITransferContainerProps
      Returns:
      A type description for the status bar view, or null if not available.
    • checkReplaceLayoutData

      public void checkReplaceLayoutData(ComplexOperation op, UIComp comp)
      Perform check of the component layout data and replaces it if required.
      Specified by:
      checkReplaceLayoutData in interface IReplaceLayoutData
      Parameters:
      op - Complex operation for undo/redo, null when operation should be done directly on property.
      comp - Component to replace the layout data in.
    • clone

      public EMapLayout clone()
      Clone must be overridden.
      Overrides:
      clone in class MapLayout
    • createDefaultLayoutProp

      public EMapData createDefaultLayoutProp(UIComp uiComp)
      Creates the default LayoutProp to use for a new component that is inserted directly into the UIComps container.
      Specified by:
      createDefaultLayoutProp in interface IELayoutMgr<EMapData>
      Overrides:
      createDefaultLayoutProp in class MapLayout
      Parameters:
      uiComp - The component requesting the default layout property.
      Returns:
      A new instance of the layout data of this layout manager.
    • getTransferProps

      public Object[] getTransferProps()
      Returns the list of properties that are transferable between layout managers.
      Specified by:
      getTransferProps in interface ITransferContainerProps
      Returns:
      The list of String's or Atom's that are transferable, null for none.
    • getTooltipPropertyList

      public List<TooltipItem> getTooltipPropertyList()
      Gets the list of property names that should be displayed.
      Specified by:
      getTooltipPropertyList in interface ITooltipPropList
      Returns:
      The list, or null for no tooltip.