Package org.zkoss.stateless.sul
Interface ILinelayout
- All Superinterfaces:
IAnyGroup<ILinelayout>,IChildable<ILinelayout,,ILineitem<IAnyGroup>> IComponent<ILinelayout>,IHtmlBasedComponent<ILinelayout>,IXulElement<ILinelayout>
public interface ILinelayout
extends IXulElement<ILinelayout>, IChildable<ILinelayout,ILineitem<IAnyGroup>>, IAnyGroup<ILinelayout>
Immutable
Linelayout component
A linelayout component for stylistically displaying chronological information.
- Author:
- katherine
- See Also:
-
Linelayout
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeILinelayout.static enumSpecifies the orient ofICardlayoutcomponentstatic classBuilds an updater of typeILinelayoutforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ILinelayoutConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the scale of space occupied by the first area.default intReturns the scale of space occupied by the last area.Returns the CSS style for the line.default StringReturns the orient.default StringReturns the client widget class.static ILinelayoutReturns the instance with the givenILineitemchildren.static ILinelayoutReturns the instance with the givenILineitemchildren.static ILinelayoutReturns the instance with the given id.static ILinelayoutofOrient(ILinelayout.Orient orient) Returns the instance with the given orient.withFirstScale(int firstScale) Returns a copy ofthisimmutable component with the specifiedfirstScale.withLastScale(int lastScale) Returns a copy ofthisimmutable component with the specifiedlastScale.withLineStyle(String lineStyle) Returns a copy ofthisimmutable component with the specifiedlineStyle.withOrient(String orient) Returns a copy ofthisimmutable component with the specifiedorient.default ILinelayoutwithOrient(ILinelayout.Orient orient) Returns a copy ofthisimmutable component with the specifiedorient.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:
"zkmax.layout.Linelayout"- Specified by:
getWidgetClassin interfaceIComponent<ILinelayout>
-
getLineStyle
Returns the CSS style for the line.Default:
null -
withLineStyle
Returns a copy ofthisimmutable component with the specifiedlineStyle.Sets the CSS style for the line.
- Parameters:
lineStyle- Sets the CSS style for the line.Default:
null.- Returns:
- A modified copy of the
thisobject
-
getOrient
Returns the orient.Default:
"vertical". -
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient.
- Parameters:
orient- Either"horizontal"orverticalDefault:
"vertical".- Returns:
- A modified copy of the
thisobject
-
withOrient
Returns a copy ofthisimmutable component with the specifiedorient.Sets the orient of component
- Parameters:
orient- TheorientDefault:
"horizontal".- Returns:
- A modified copy of the
thisobject
-
getFirstScale
default int getFirstScale()Returns the scale of space occupied by the first area.Default:
1. -
withFirstScale
Returns a copy ofthisimmutable component with the specifiedfirstScale.Sets the scale of space occupied by the first area.
- Parameters:
firstScale- The scale of space occupied by the first area.Default:
1.- Returns:
- A modified copy of the
thisobject
-
getLastScale
default int getLastScale()Returns the scale of space occupied by the last area.Default:
1. -
withLastScale
Returns a copy ofthisimmutable component with the specifiedlastScale.Sets the scale of space occupied by the last area.
- Parameters:
lastScale- The scale of space occupied by the last area.Default:
1.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the givenILineitemchildren.- Parameters:
children- The children ofILineitem
-
of
Returns the instance with the givenILineitemchildren.- Parameters:
children- The children ofILineitem
-
ofOrient
Returns the instance with the given orient.- Parameters:
orient- The orient of this component.
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-