Package org.zkoss.stateless.sul
Interface ISliderbuttons
- All Superinterfaces:
IAnyGroup<ISliderbuttons>,IComponent<ISliderbuttons>,IHtmlBasedComponent<ISliderbuttons>,IXulElement<ISliderbuttons>
Immutable
Sliderbuttons component
A pair of buttons for slider (rangeslider and
multislider).
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:
-
Sliderbuttons
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilds instances of typeISliderbuttons.static classBuilds an updater of typeISliderbuttonsforUiAgent.smartUpdate(Locator, SmartUpdater). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ISliderbuttonsConstant for default attributes of this immutable component. -
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the end value of this sliderbuttons.default intReturns the start value of this sliderbuttons.default StringReturns the client widget class.static ISliderbuttonsof(int start, int end) Returns the instance with the given start and end values.static ISliderbuttonsReturns the instance with the given id.withEndValue(int endValue) Returns a copy ofthisimmutable component with the specifiedendValue.withStartValue(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.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:
"zkex.slider.Sliderbuttons"- Specified by:
getWidgetClassin interfaceIComponent<ISliderbuttons>
-
getStartValue
default int getStartValue()Returns the start value of this sliderbuttons.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
default int getEndValue()Returns the end value of this sliderbuttons.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 start and end values.- Parameters:
start- The start value of the sliderbuttons.end- The end value of the sliderbuttons.
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component.
-