Interface IBorderlayout

    • Field Detail

      • DEFAULT

        static final IBorderlayout 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.Borderlayout"

        Specified by:
        getWidgetClass in interface IComponent<IBorderlayout>
      • getNorth

        @Nullable
        INorth getNorth()
        Returns the north child.

        Default: null

      • withNorth

        IBorderlayout withNorth​(@Nullable
                                INorth north)
        Returns a copy of this immutable component with the specified north.

        Sets the north child.

        Parameters:
        north - The north child

        Default: null

        Returns:
        A modified copy of the this object
      • getSouth

        @Nullable
        ISouth getSouth()
        Returns the south child.

        Default: null

      • withSouth

        IBorderlayout withSouth​(@Nullable
                                ISouth south)
        Returns a copy of this immutable component with the specified south.

        Sets the south child.

        Parameters:
        south - The south child

        Default: null

        Returns:
        A modified copy of the this object
      • getWest

        @Nullable
        IWest getWest()
        Returns the west child.

        Default: null

      • withWest

        IBorderlayout withWest​(@Nullable
                               IWest west)
        Returns a copy of this immutable component with the specified west.

        Sets the west child.

        Parameters:
        west - The west child

        Default: null

        Returns:
        A modified copy of the this object
      • getEast

        @Nullable
        IEast getEast()
        Returns the east child.

        Default: null

      • withEast

        IBorderlayout withEast​(@Nullable
                               IEast east)
        Returns a copy of this immutable component with the specified east.

        Sets the east child.

        Parameters:
        east - The east child

        Default: null

        Returns:
        A modified copy of the this object
      • getCenter

        @Nullable
        ICenter getCenter()
        Returns the center child.

        Default: null

      • withCenter

        IBorderlayout withCenter​(@Nullable
                                 ICenter center)
        Returns a copy of this immutable component with the specified center.

        Sets the center child.

        Parameters:
        center - The center child

        Default: null

        Returns:
        A modified copy of the this object
      • withAllComponents

        default IBorderlayout withAllComponents​(java.lang.Iterable<? extends ILayoutRegion> elements)
        Description copied from interface: IComposite
        Copy the current immutable object with elements that replace the content of children. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Specified by:
        withAllComponents in interface IComposite<IBorderlayout,​ILayoutRegion>
        Parameters:
        elements - An iterable of children elements to set
        Returns:
        A modified copy of this object
      • isAnimationDisabled

        default boolean isAnimationDisabled()
        Returns whether disable animation effects

        Default: false, if the "org.zkoss.zul.borderlayout.animation.disabled" library property is not set in zk.xml.

      • withAnimationDisabled

        IBorderlayout withAnimationDisabled​(boolean animationDisabled)
        Returns a copy of this immutable component with the specified animationDisabled.

        Sets to disable animation effects.

        Parameters:
        animationDisabled - Whether to disable animation effects.

        Default: false

        Returns:
        A modified copy of the this object
      • ofSize

        static IBorderlayout 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
      • ofFlex

        static IBorderlayout ofFlex​(java.lang.String hflex,
                                    java.lang.String vflex)
        Returns the instance with the given flex, hflex and vflex.
        Parameters:
        hflex - The horizontal flex hint
        vflex - The vertical flex hint
      • ofId

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