Class HeadingLayout

    • Constructor Detail

      • HeadingLayout

        public HeadingLayout()
        Creates the layout without name with a null value.
      • HeadingLayout

        public HeadingLayout​(Atom propertyAtom)
        Creates the layout with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
      • HeadingLayout

        public HeadingLayout​(Atom propertyAtom,
                             GProp<?>[] properties)
                      throws PropException
        Creates the layout with the specified name and properties.
        Parameters:
        propertyAtom - the property atom.
        properties - the property array value for the layout manager.
        Throws:
        PropException - as structural changes in containers on client is prohibited.
    • Method Detail

      • clone

        public HeadingLayout clone()
        Creates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.
        Overrides:
        clone in class LayoutMgr<HeadingData>
      • createDefaultLayoutProp

        public HeadingData 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 class LayoutMgr<HeadingData>
        Parameters:
        uiComp - The component requesting the default layout property.
        Returns:
        A new instance of the layout data of this layout manager.
      • hasWidth0

        protected boolean hasWidth0​(HeadingData layout)
        Verifies if the layout data has a width.
        Overrides:
        hasWidth0 in class LayoutMgr<HeadingData>
        Parameters:
        layout - The layout data.
        Returns:
        true if the width is defined and non-zero, false otherwise.
      • hasHeight0

        protected boolean hasHeight0​(HeadingData layout)
        Verifies if the layout data has a height.
        Overrides:
        hasHeight0 in class LayoutMgr<HeadingData>
        Parameters:
        layout - The layout data.
        Returns:
        true if the height is defined and non-zero, false otherwise.