Package org.zkoss.stateless.sul
Interface IRangeslider
- All Superinterfaces:
IAnyGroup<IRangeslider>,IComponent<IRangeslider>,IDisable<IRangeslider>,IHtmlBasedComponent<IRangeslider>,IRangesliderBase<IRangeslider>,ISingleChildable<IRangeslider,,ISliderbuttons> IXulElement<IRangeslider>
Immutable
Rangeslider component
A rangeslider. Like ZK Slider, but it supports a range value in slider.
Support @Action
| Name | Action Type |
|---|---|
| onRangeValueChange | ActionData: RangeValueChangeData
Denotes the range value of a component has been changed by the user. |
- Author:
- katherine
- See Also:
-
Rangeslider
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeIRangeslider.static classBuilds an updater of typeIRangesliderforUiAgent.smartUpdate(Locator, SmartUpdater).Nested classes/interfaces inherited from interface org.zkoss.stateless.sul.IRangesliderBase
IRangesliderBase.Orient -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IRangesliderConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the end value of this rangeslider.default intReturns the start value of this rangeslider.default StringReturns the client widget class.static IRangesliderof(int startValue, int endValue) Returns the instance with the given startValue and endValuestatic IRangesliderReturns the instance with the given id.static IRangesliderReturns the instance with the given orient.static IRangesliderofOrient(IRangesliderBase.Orient orient) Returns the instance with the given orient.default IRangesliderwithEndValue(int endValue) Returns a copy ofthisimmutable component with the specifiedendValue.default IRangesliderwithStartValue(int startValue) Returns a copy ofthisimmutable component with the specifiedstartValue.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.IDisable
isDisabled, withDisabledMethods 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.IRangesliderBase
getMarks, getMarkScale, getMax, getMin, getOrient, getStep, isTooltipVisible, withMarks, withMarkScale, withMax, withMin, withOrient, withOrient, withStep, withTooltipVisibleMethods inherited from interface org.zkoss.stateless.sul.ISingleChildable
getChild, withChildMethods 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:
"zkex.slider.Rangeslider"- Specified by:
getWidgetClassin interfaceIComponent<IRangeslider>
-
getStartValue
@Lazy default int getStartValue()Returns the start value of this rangeslider.Default:
0. -
withStartValue
Returns a copy ofthisimmutable component with the specifiedstartValue.Sets the start value of this sliderbuttons.
- Parameters:
startValue- The start value of this sliderbuttons.Default:
0.- Returns:
- A modified copy of the
thisobject
-
getEndValue
@Lazy default int getEndValue()Returns the end value of this rangeslider.Default:
0. -
withEndValue
Returns a copy ofthisimmutable component with the specifiedendValue.Sets the end value of this sliderbuttons.
- Parameters:
endValue- The end value of this sliderbuttons.Default:
0.- Returns:
- A modified copy of the
thisobject
-
of
Returns the instance with the given startValue and endValue- Parameters:
startValue- The start value of the sliderbuttonsendValue- The end value of the sliderbuttons
-
ofOrient
Returns the instance with the given orient.- Parameters:
orient- The orient value
-
ofOrient
Returns the instance with the given orient.- Parameters:
orient- The orient value
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-