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>
ImmutableRangeslider
componentA 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 class
IRangeslider.Builder
Builds instances of typeIRangeslider
.static class
IRangeslider.Updater
Builds an updater of typeIRangeslider
forUiAgent.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 IRangeslider
DEFAULT
Constant for default attributes of this immutable component.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default int
getEndValue()
Returns the end value of this rangeslider.default int
getStartValue()
Returns the start value of this rangeslider.default java.lang.String
getWidgetClass()
Returns the client widget class.static IRangeslider
of(int startValue, int endValue)
Returns the instance with the given startValue and endValuestatic IRangeslider
ofId(java.lang.String id)
Returns the instance with the given id.static IRangeslider
ofOrient(java.lang.String orient)
Returns the instance with the given orient.static IRangeslider
ofOrient(IRangesliderBase.Orient orient)
Returns the instance with the given orient.default IRangeslider
withEndValue(int endValue)
Returns a copy ofthis
immutable component with the specifiedendValue
.default IRangeslider
withStartValue(int startValue)
Returns a copy ofthis
immutable 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:
getWidgetClass
in 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 ofthis
immutable 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
this
object
-
getEndValue
@Lazy default int getEndValue()
Returns the end value of this rangeslider.Default:
0
.
-
withEndValue
default IRangeslider withEndValue(int endValue)
Returns a copy ofthis
immutable 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
this
object
-
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
-
-