Interface IDetail<I extends IAnyGroup>

    • Field Detail

      • DEFAULT

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

      • getWidgetClass

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

        Default: "zkex.grid.Detail"

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

        @Nullable
        java.lang.String getContentSclass()
        Returns the style class used for the content block.

        Default: null

      • withContentSclass

        IDetail<I> withContentSclass​(@Nullable
                                     java.lang.String contentSclass)
        Returns a copy of this immutable component with the specified contentSclass.

        Sets the style class used for the content block.

        Parameters:
        contentSclass - The style class used for the content block.

        Default: null.

        Returns:
        A modified copy of the this object
      • getContentStyle

        @Nullable
        java.lang.String getContentStyle()
        Returns the CSS style for the content block of the window.

        Default: null

      • withContentStyle

        IDetail<I> withContentStyle​(@Nullable
                                    java.lang.String contentStyle)
        Returns a copy of this immutable component with the specified contentStyle.

        Sets the CSS style for the content block of the window.

        Parameters:
        contentStyle - The CSS style for the content block of the window.

        Default: null.

        Returns:
        A modified copy of the this object
      • isOpen

        default boolean isOpen()
        Returns whether the detail is open.

        Default: false

      • withOpen

        IDetail<I> withOpen​(boolean open)
        Returns a copy of this immutable component with the specified open.

        Sets whether the detail is open.

        Parameters:
        open - Whether the detail is open.

        Default: false.

        Returns:
        A modified copy of the this object
      • of

        static <I extends IAnyGroupIDetail<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 IAnyGroupIDetail<I> of​(I... children)
        Returns the instance with the given any group children.
        Parameters:
        children - The children belong to any group
        See Also:
        IAnyGroup
      • ofId

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