Package org.zkoss.stateless.sul
Interface IHlayout<I extends IAnyGroup>
- All Superinterfaces:
IAnyGroup<IHlayout<I>>,IChildable<IHlayout<I>,,I> IComponent<IHlayout<I>>,IHtmlBasedComponent<IHlayout<I>>,ILayout<IHlayout<I>>,IXulElement<IHlayout<I>>
public interface IHlayout<I extends IAnyGroup>
extends ILayout<IHlayout<I>>, IChildable<IHlayout<I>,I>, IAnyGroup<IHlayout<I>>
Immutable
Hlayout component
The hlayout component is a simple horizontal oriented layout. It layouts its child components horizontally in a row.
- Author:
- katherine
- See Also:
-
Hlayout
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classIHlayout.Builder<I extends IAnyGroup>Builds instances of typeIHlayout.static classBuilds an updater of typeIHlayoutforUiAgent.smartUpdate(Locator, SmartUpdater).static enumSpecifies the vertical-align toIHlayout -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the vertical-align property used for the inner children.default 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 vflex.withValign(String valign) Returns a copy ofthisimmutable component with the specifiedvalign.withValign(IHlayout.VerticalAlign valign) Returns a copy ofthisimmutable component with the specifiedvalign.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.ILayout
getSpacing, withSpacingMethods 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.box.Hlayout"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
getValign
Returns the vertical-align property used for the inner children.Default:
"top". -
withValign
Returns a copy ofthisimmutable component with the specifiedvalign.Sets the vertical-align property used for the inner children.
- Parameters:
valign- The vertical-align, allowed values are ,"middle", and"bottom"Default:
"top".- Returns:
- A modified copy of the
thisobject
-
withValign
Returns a copy ofthisimmutable component with the specifiedvalign.Sets the vertical-align property used for the inner children.
- Parameters:
valign- The vertical-align ofIHlayout.VerticalAlignDefault:
"top".- Returns:
- A modified copy of the
thisobject
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
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:
-
ofVflex
Returns the instance with the given vflex.- Parameters:
vflex- The vertical flex hint.
-