Package org.zkoss.stateless.sul
Interface IDiv<I extends IAnyGroup>
- All Superinterfaces:
IAnyGroup<IDiv<I>>,IChildable<IDiv<I>,,I> IComponent<IDiv<I>>,IHtmlBasedComponent<IDiv<I>>,IXulElement<IDiv<I>>
public interface IDiv<I extends IAnyGroup>
extends IXulElement<IDiv<I>>, IAnyGroup<IDiv<I>>, IChildable<IDiv<I>,I>
Immutable
Div component.
The same as HTML DIV tag. It is one of the most lightweight containers to group child component for, say, assigning CSS or making more sophisticated layout. Div is displayed as block that the following sibling won't be displayed in the same vertical position; as if there is a line break before and after it.
- Author:
- katherine
- See Also:
-
Div
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIDiv.Builder<I extends IAnyGroup>Builds instances of typeIDiv.static classBuilds an updater of typeIDivforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the client widget class.of(I... children) Returns the instance with the given any group children.Returns the instance with the given any group children.Returns the instance with the given id.Returns the instance with the given size, width and height.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.Div"- 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
-
ofSize
Returns the instance with the given size, width and height.- Parameters:
width- The width of the componentheight- The height of the component
-