Package org.zkoss.stateless.sul
Interface IRangeslider
-
- All Superinterfaces:
IAnyGroup<IRangeslider>,IComponent<IRangeslider>,IDisable<IRangeslider>,IHtmlBasedComponent<IRangeslider>,IRangesliderBase<IRangeslider>,ISingleChildable<IRangeslider,ISliderbuttons>,IXulElement<IRangeslider>
public interface IRangeslider extends IRangesliderBase<IRangeslider>
ImmutableRangeslidercomponentA 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 Classes Modifier and Type Interface Description static classIRangeslider.BuilderBuilds instances of typeIRangeslider.static classIRangeslider.UpdaterBuilds an updater of typeIRangesliderforUiAgent.smartUpdate(Locator, SmartUpdater).-
Nested classes/interfaces inherited from interface org.zkoss.stateless.sul.IRangesliderBase
IRangesliderBase.Orient
-
-
Field Summary
Fields Modifier and Type Field Description static IRangesliderDEFAULTConstant for default attributes of this immutable component.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default intgetEndValue()Returns the end value of this rangeslider.default intgetStartValue()Returns the start value of this rangeslider.default java.lang.StringgetWidgetClass()Returns the client widget class.static IRangesliderof(int startValue, int endValue)Returns the instance with the given startValue and endValuestatic IRangesliderofId(java.lang.String id)Returns the instance with the given id.static IRangesliderofOrient(java.lang.String orient)Returns 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, withWidgetOverrides
-
Methods inherited from interface org.zkoss.stateless.sul.IDisable
isDisabled, withDisabled
-
Methods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IRangesliderBase
getMarks, getMarkScale, getMax, getMin, getOrient, getStep, isTooltipVisible, withMarks, withMarkScale, withMax, withMin, withOrient, withOrient, withStep, withTooltipVisible
-
Methods inherited from interface org.zkoss.stateless.sul.ISingleChildable
getChild, withChild
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IRangeslider DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String 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
default IRangeslider withStartValue(int startValue)
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
default IRangeslider withEndValue(int endValue)
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
static IRangeslider of(int startValue, int endValue)
Returns the instance with the given startValue and endValue- Parameters:
startValue- The start value of the sliderbuttonsendValue- The end value of the sliderbuttons
-
ofOrient
static IRangeslider ofOrient(java.lang.String orient)
Returns the instance with the given orient.- Parameters:
orient- The orient value
-
ofOrient
static IRangeslider ofOrient(IRangesliderBase.Orient orient)
Returns the instance with the given orient.- Parameters:
orient- The orient value
-
ofId
static IRangeslider ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
-