Interface ICarouselitem<I extends IAnyGroup>

All Superinterfaces:
IChildable<ICarouselitem<I>,I>, IChildrenOfInputgroup<ICarouselitem<I>>, IComponent<ICarouselitem<I>>, IHtmlBasedComponent<ICarouselitem<I>>, ILabelElement<ICarouselitem<I>>, ILabelImageElement<ICarouselitem<I>>, IXulElement<ICarouselitem<I>>

public interface ICarouselitem<I extends IAnyGroup> extends ILabelImageElement<ICarouselitem<I>>, IChildable<ICarouselitem<I>,I>
Immutable Carouselitem component.

A single slide inside an ICarousel. Besides its own label and image, it may hold any kind of children, which are placed right after them.

Since:
11.0.0
Author:
peaker
See Also:
  • Carouselitem
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.wgt.Carouselitem"

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

      static <I extends IAnyGroup> ICarouselitem<I> of(String label)
      Returns the instance with the given label.
      Parameters:
      label - The label of the slide
    • of

      static <I extends IAnyGroup> ICarouselitem<I> of(String label, String image)
      Returns the instance with the given label and image.
      Parameters:
      label - The label of the slide
      image - The image of the slide
    • of

      static <I extends IAnyGroup> ICarouselitem<I> of(Iterable<? extends I> children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • of

      static <I extends IAnyGroup> ICarouselitem<I> of(I... children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • ofImage

      static <I extends IAnyGroup> ICarouselitem<I> ofImage(String image)
      Returns the instance with the given image.
      Parameters:
      image - The image of the slide
    • ofId

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