Package org.zkoss.stateless.sul
Interface ISpan<I extends IAnyGroup>
-
- All Superinterfaces:
IAnyGroup<ISpan<I>>
,IChildable<ISpan<I>,I>
,IComponent<ISpan<I>>
,IHtmlBasedComponent<ISpan<I>>
,IXulElement<ISpan<I>>
public interface ISpan<I extends IAnyGroup> extends IXulElement<ISpan<I>>, IAnyGroup<ISpan<I>>, IChildable<ISpan<I>,I>
ImmutableSpan
component.The same as HTML SPAN tag. It is one of the most lightweight containers to group child component for, say, assigning CSS or making more sophisticated layout. Span is displayed inline with other siblings; as if there is no line breaks between them.
- Author:
- jumperchen
- See Also:
Span
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ISpan.Builder<I extends IAnyGroup>
Builds instances of typeISpan
.static class
ISpan.Updater
Builds an updater of typeISpan
forUiAgent.smartUpdate(Locator, SmartUpdater)
.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getWidgetClass()
Returns the client widget class.static <I extends IAnyGroup>
ISpan<I>of(I... children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
ISpan<I>of(java.lang.Iterable<? extends I> children)
Returns the instance with the given any group children.static <I extends IAnyGroup>
ISpan<I>ofId(java.lang.String id)
Returns the instance with the given id.-
Methods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildren
-
Methods 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, withWidgetOverrides
-
Methods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final ISpan 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.Span"
- Specified by:
getWidgetClass
in interfaceIComponent<I extends IAnyGroup>
-
of
static <I extends IAnyGroup> ISpan<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 IAnyGroup> ISpan<I> of(I... children)
Returns the instance with the given any group children.- Parameters:
children
- The children belong to any group- See Also:
IAnyGroup
-
-