Interface IEUIContainer

    • Method Detail

      • createStyles

        Styles createStyles()
        Creates the Styles container (can be overridden by Designer to create EditorStyles).
      • addPredefinedPropsImpl

        void addPredefinedPropsImpl()
                             throws PropException
        Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
        Throws:
        PropException
      • getPredefinedProps

        void getPredefinedProps()
        Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
      • createCompsCnr

        EUIComps createCompsCnr()
        Creates the components for the Editor.
      • getAcceptedLayoutMgrs

        java.lang.Class<?>[] getAcceptedLayoutMgrs()
        Gets the possible Layout Manager classes for this component.
        Returns:
        null To accept all.
      • getPossibleCompChildren

        java.lang.Class<?>[] getPossibleCompChildren()
        Gets the acceptable component children property classes that can be used in conjunction with e.g. a Paste operation.
        Returns:
        An array containing the classes of possible children, or null for no support.
      • getClientBounds

        default GRect getClientBounds()
        Gets the current bounds of the client area inside the container where children are placed. The position is relative the page or document bounds, including the scrollbars and their current scroll.
        Returns:
        The rectangle, or null if not yet defined.
      • canContainComponent

        default boolean canContainComponent​(java.lang.Class<? extends UIComp> componentClass)
        Checks if the UIComponent class in question can be added in this container.
        Parameters:
        componentClass - The component class.
        Returns:
        true If the component is allowed, false otherwise.