Interface INorth<I extends IAnyGroup>

    • Field Detail

      • DEFAULT

        static final INorth<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.layout.North"

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

        @Lazy
        @Nullable
        default java.lang.String getSize()
        Returns the size of this region. This method is shortcut for IHtmlBasedComponent.getHeight().
      • withSize

        default INorth<I> withSize​(@Nullable
                                   java.lang.String size)
        Returns a copy of this immutable component with the specified size.

        This method is shortcut for IHtmlBasedComponent.withHeight(String).

        Parameters:
        size - The height of the component.

        Default: null

        Returns:
        A modified copy of the this object
      • getCmargins

        default java.lang.String getCmargins()
        Returns the collapsed margins, which is a list of numbers separated by comma.

        Default: "3,0,0,3"

      • withCmargins

        INorth<I> withCmargins​(java.lang.String cmargins)
        Returns a copy of this immutable component with the specified cmargins.

        Sets the collapsed margins for the component "0,1,2,3" that direction is "top,left,right,bottom"

        Parameters:
        cmargins - The collapsed margins for the component

        Default: "3,0,0,3"

        Returns:
        A modified copy of the this object
      • of

        static <I extends IAnyGroupINorth<I> of​(I child)
        Return the instance with the given child.
        Parameters:
        child - The child from any group
      • ofId

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