Package org.zkoss.stateless.sul
Interface IStep
- All Superinterfaces:
IAnyGroup<IStep>,IComponent<IStep>,IHtmlBasedComponent<IStep>,IXulElement<IStep>
Immutable
Step component
A step is used for displaying user navigation, it should be placed inside a IStepbar.
- Author:
- katherine
- See Also:
-
Step
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIStep.static classBuilds an updater of typeIStepforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the icon fontgetTitle()Returns the title.default StringReturns the client widget class.default booleanReturns whether this step is complete.default booleanisError()Returns whether this step is in error.static IStepReturns the instance with the given id.static IStepReturns the instance with the given title.withComplete(boolean complete) Returns a copy ofthisimmutable component with the specifiedcomplete.withError(boolean error) Returns a copy ofthisimmutable component with the specifiederror.withIconSclass(String iconSclass) Returns a copy ofthisimmutable component with the specifiediconSclass.Returns a copy ofthisimmutable component with the specifiedtitle.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, 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.wgt.Step"- Specified by:
getWidgetClassin interfaceIComponent<IStep>
-
getTitle
Returns the title.Default:
null. -
withTitle
Returns a copy ofthisimmutable component with the specifiedtitle.Sets the title of the step.
- Parameters:
title- The title of the step.Default:
null.- Returns:
- A modified copy of the
thisobject
-
getIconSclass
Returns the icon fontDefault:
null. -
withIconSclass
Returns a copy ofthisimmutable component with the specifiediconSclass.Sets the icon font
- Parameters:
iconSclass- The icon fontDefault:
null.- Returns:
- A modified copy of the
thisobject
-
isComplete
default boolean isComplete()Returns whether this step is complete.Default:
false. -
withComplete
Returns a copy ofthisimmutable component with the specifiedcomplete.Sets whether this step is complete.
- Parameters:
complete- Whether this step is complete.Default:
false.- Returns:
- A modified copy of the
thisobject
-
isError
default boolean isError()Returns whether this step is in error.Default:
false. -
withError
Returns a copy ofthisimmutable component with the specifiederror.Sets whether this step is in error.
- Parameters:
error- Whether this step is in error.Default:
false.- Returns:
- A modified copy of the
thisobject
-
ofTitle
Returns the instance with the given title.- Parameters:
title- The title of this component
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-