Interface IPortallayout

    • Field Detail

      • DEFAULT

        static final IPortallayout DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

        default java.lang.String getWidgetClass()
        Returns the client widget class.

        Default: "zkmax.layout.Portallayout"

        Specified by:
        getWidgetClass in interface IComponent<IPortallayout>
      • getMaximizedMode

        default java.lang.String getMaximizedMode()
        Returns the mode of the maximized panel.

        Default: "column"

      • withMaximizedMode

        IPortallayout withMaximizedMode​(java.lang.String maximizedMode)
        Returns a copy of this immutable component with the specified maximizedMode.

        Sets the mode of the maximized panel

        Parameters:
        maximizedMode - The mode of the maximized panel, "whole" and "column"

        Default: "column".

        Returns:
        A modified copy of the this object
      • withMaximizedMode

        default IPortallayout withMaximizedMode​(IPortallayout.MaximizedMode maximizedMode)
        Returns a copy of this immutable component with the specified maximizedMode.

        Sets the mode of the maximized panel

        Parameters:
        maximizedMode - The mode of the maximized panel, "whole" and "column"

        Default: "column".

        Returns:
        A modified copy of the this object
      • getOrient

        default java.lang.String getOrient()
        Returns the orient.

        Default: "vertical"

      • withOrient

        IPortallayout withOrient​(java.lang.String orient)
        Returns a copy of this immutable component with the specified orient.

        Sets the orient of component

        Parameters:
        orient - Either "horizontal" or "vertical"

        Default: "vertical".

        Returns:
        A modified copy of the this object
      • withOrient

        default IPortallayout withOrient​(IPortallayout.Orient orient)
        Returns a copy of this immutable component with the specified orient.

        Sets the orient of component

        Parameters:
        orient - Either "horizontal" or "vertical"

        Default: "vertical".

        Returns:
        A modified copy of the this object
      • ofSize

        static IPortallayout ofSize​(java.lang.String width,
                                    java.lang.String height)
        Returns the instance with the given size, width and height.
        Parameters:
        width - The width of the component
        height - The height of the component
      • ofId

        static IPortallayout ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component