Package org.zkoss.stateless.sul
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classICarouselitem.Builder<I extends IAnyGroup>Builds instances of typeICarouselitem.static classBuilds an updater of typeICarouselitemforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ICarouselitem<IAnyGroup>Constant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the client widget class.static <I extends IAnyGroup>
ICarouselitem<I>of(I... children) Returns the instance with the given any group children.static <I extends IAnyGroup>
ICarouselitem<I>Returns the instance with the given any group children.static <I extends IAnyGroup>
ICarouselitem<I>Returns the instance with the given label.static <I extends IAnyGroup>
ICarouselitem<I>Returns the instance with the given label and image.static <I extends IAnyGroup>
ICarouselitem<I>Returns the instance with the given id.static <I extends IAnyGroup>
ICarouselitem<I>Returns the instance with the given image.Methods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildrenMethods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetListeners, getWidgetOverrides, isVisible, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withActions, withActions, withClientAttribute, withClientAttributes, withId, withMold, withVisible, withWidgetClass, withWidgetListener, withWidgetListeners, withWidgetOverride, withWidgetOverridesMethods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withSkeleton, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndexMethods inherited from interface org.zkoss.stateless.sul.ILabelElement
getLabel, withLabelMethods inherited from interface org.zkoss.stateless.sul.ILabelImageElement
getHoverImage, getIconSclass, getIconSclasses, getIconTooltip, getIconTooltips, getImage, isPreloadImage, withHoverImage, withIconSclass, withIconSclasses, withIconTooltip, withIconTooltips, withImage, withPreloadImageMethods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
Field Details
-
DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Details
-
getWidgetClass
Returns the client widget class.Default:
"zul.wgt.Carouselitem"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
of
Returns the instance with the given label.- Parameters:
label- The label of the slide
-
of
Returns the instance with the given label and image.- Parameters:
label- The label of the slideimage- The image of the slide
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
of
Returns the instance with the given any group children.- Parameters:
children- The children belong to any group- See Also:
-
ofImage
Returns the instance with the given image.- Parameters:
image- The image of the slide
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-