Interface IAbsolutechildren<I extends IAnyGroup>

    • Method Detail

      • getWidgetClass

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

        Default: "zul.layout.Absolutechildren"

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

        default int getX()
        Returns the current x position within parent container component

        Default: 0

      • withX

        IAbsolutechildren<I> withX​(int x)
        Returns a copy of this immutable component with the specified x.

        Sets current x position within parent container component.

        Parameters:
        x - The x position

        Default: 0.

        Returns:
        A modified copy of the this object
      • getY

        default int getY()
        Returns the current y position within parent container component

        Default: 0

      • withY

        IAbsolutechildren<I> withY​(int y)
        Returns a copy of this immutable component with the specified y.

        Sets current y position within parent container component.

        Parameters:
        y - The y position

        Default: 0.

        Returns:
        A modified copy of the this object
      • of

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

        static <I extends IAnyGroupIAbsolutechildren<I> of​(int x,
                                                             int y,
                                                             I... children)
        Returns the instance with the given x, y, and any group children.
        Parameters:
        x - The x position
        y - The y position
        children - The children belong to any group
        See Also:
        IAnyGroup
      • of

        static <I extends IAnyGroupIAbsolutechildren of​(int x,
                                                          int y)
        Returns the instance with the given x and y.
        Parameters:
        x - The x position
        y - The y position
      • ofId

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