Interface ICaption<I extends IAnyGroup>

    • Field Detail

      • DEFAULT

        static final ICaption<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.wgt.Caption"

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

        static <I extends IAnyGroupICaption<I> of​(java.lang.String label)
        Returns the instance with the given label
        Parameters:
        label - The label of the caption
      • of

        static <I extends IAnyGroupICaption<I> of​(java.lang.String label,
                                                    java.lang.String image)
        Returns the instance with the given label and image
        Parameters:
        label - The label of the caption
        image - The image of the caption
      • of

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

        static <I extends IAnyGroupICaption<I> ofImage​(java.lang.String image)
        Returns the instance with the given image
        Parameters:
        image - The image of the caption
      • ofId

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