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>
Immutable
Span 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 ClassesModifier and TypeInterfaceDescriptionstatic classISpan.Builder<I extends IAnyGroup>Builds instances of typeISpan.static classBuilds an updater of typeISpanforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
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.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.Span"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
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:
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-