Interface IHlayout<I extends IAnyGroup>

    • Field Detail

      • DEFAULT

        static final IHlayout<IAnyGroup> DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

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

        Default: "zul.box.Hlayout"

        Specified by:
        getWidgetClass in interface IComponent<I extends IAnyGroup>
      • getValign

        default java.lang.String getValign()
        Returns the vertical-align property used for the inner children.

        Default: "top".

      • withValign

        IHlayout<I> withValign​(java.lang.String valign)
        Returns a copy of this immutable component with the specified valign.

        Sets the vertical-align property used for the inner children.

        Parameters:
        valign - The vertical-align, allowed values are , "middle", and "bottom"

        Default: "top".

        Returns:
        A modified copy of the this object
      • withValign

        default IHlayout<I> withValign​(IHlayout.VerticalAlign valign)
        Returns a copy of this immutable component with the specified valign.

        Sets the vertical-align property used for the inner children.

        Parameters:
        valign - The vertical-align of IHlayout.VerticalAlign

        Default: "top".

        Returns:
        A modified copy of the this object
      • ofId

        static <I extends IAnyGroupIHlayout<I> ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component
      • of

        static <I extends IAnyGroupIHlayout<I> of​(java.lang.Iterable<? extends I> children)
        Returns the instance with the given any group children.
        Parameters:
        children - The children belong to any group
        See Also:
        IAnyGroup
      • of

        static <I extends IAnyGroupIHlayout<I> of​(I... children)
        Returns the instance with the given any group children.
        Parameters:
        children - The children belong to any group
        See Also:
        IAnyGroup
      • ofVflex

        static <I extends IAnyGroupIHlayout<I> ofVflex​(java.lang.String vflex)
        Returns the instance with the given vflex.
        Parameters:
        vflex - The vertical flex hint.