public class Rangeslider extends Widget
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName
Modifier and Type | Method and Description |
---|---|
String |
getMarks()
Returns marks of the rangeslider.
|
int |
getMax()
Returns the maximum value of the rangeslider.
|
int |
getMin()
Returns the minimum value of the rangeslider.
|
String |
getOrient()
Returns the orient.
|
int |
getStep()
Returns the step of rangesliderslider.
|
boolean |
isDisabled()
Returns whether it is disabled.
|
boolean |
isTooltipVisible()
Returns whether it is tooltipVisible.
|
boolean |
isVertical()
Returns whether it is a vertical slider.
|
void |
setDisabled(boolean disabled)
Sets whether it is disabled.
|
void |
setMarks(String marks)
Sets the marks information for displaying value marks.
|
void |
setMax(int maximum)
Sets the maximum value of the rangeslider.
|
void |
setMin(int minimum)
Sets the minimum value of the rangeslider.
|
void |
setOrient(String orient)
Sets the orient.
|
void |
setStep(int step)
Sets the step of rangeslider
Default: 1
|
void |
setTooltipVisible(boolean tooltipVisible)
Sets whether it is tooltipVisible.
|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
$, $f, $f, $f, $init, $n, $n, $o, $s, $service, afterAnima_, afterParentChanged_, appendChild, appendChild, beforeParentChanged_, beforeSendAU_, bind_, bind, bindChildren_, bindDoubleTap_, bindMissingAncestors, bindSwipe_, bindTapHold_, canActivate, cleanDrag_, clear, clearCache, cloneDrag_, deferRedraw_, deferRedrawHTML_, detach, doBlur_, doClick_, doDoubleClick_, doFocus_, doKeyDown_, doKeyPress_, doKeyUp_, domAttrs_, domClass_, domListen_, doMouseDown_, doMouseMove_, doMouseOut_, doMouseOver_, doMouseUp_, domStyle_, domTextStyleAttr_, domTooltiptext_, domUnlisten_, doPaste_, doResizeScroll_, doRightClick_, doSelect_, doSwipe_, doTooltipOut_, doTooltipOver_, dropEffect_, extraBind_, fire, fireX, focus_, focus, forcerender, fromPageCoord, get, getAction, getCaveNode, getChildAt, getChildIndex, getClass, getCssflex, getDraggable, getDragMessage_, getDragNode, getDragOptions_, getDrop_, getDroppable, getElementsById, getElementsByName, getFirstNode_, getFloatZIndex_, getHeight, getHflex, getId, getLeft, getMold, getOldWidget_, getPage, getRenderdefer, getSclass, getScrollLeft, getScrollTop, getStyle, getTabindex, getTextNode, getTooltiptext, getTop, getTopWidget, getVflex, getWidth, getZclass, getZIndex, hide, ignoreDescendantFloatUp_, ignoreDrag_, initDrag_, insertBefore, insertChildHTML_, isAutoId, isBinding, isFloating_, isListen, isRealElement, isRealVisible, isRealVisible, isVisible, isVisible, isWatchable_, listen, listenOnFitSize_, mimicMouseDown_, newInstance, nextUuid, onAfterSize, onChildAdded_, onChildRemoved_, onChildRenderDefer_, onChildReplaced_, onChildVisible_, onDrop_, redraw, redrawHTML_, register, removeChild, removeChild, removeChildHTML_, removeHTML_, replaceCavedChildren_, replaceChildHTML_, replaceHTML, replaceWidget, rerender, rerender, rerenderLater_, rerenderNow_, scrollIntoView, sendAU_, set, set, setAction, setChildren, setCssflex, setDomVisible_, setDraggable, setDroppable, setFloating_, setFloatZIndex_, setHeight, setHflex, setId, setLeft, setListener, setListener, setListeners, setMold, setRenderdefer, setSclass, setScrollLeft, setScrollTop, setStyle, setTabindex, setTooltiptext, setTop, setTopmost, setVflex, setVisible, setWidth, setZclass, setZIndex, shallChildROD_, shallFireSizedLaterWhenAddChd_, shallIgnoreClick_, show, smartUpdate, unbind_, unbind, unbindChildren_, unbindDoubleTap_, unbindSwipe_, unbindTapHold_, uncloneDrag_, unlisten, unlistenOnFitSize_, updateDomClass_, updateDomStyle_, uuid, zsync
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
public void setMin(int minimum)
minimum
- valuepublic int getMin()
Default: 0.
public void setMax(int maximum)
maximum
- valuepublic int getMax()
Default: 100.
public void setMarks(String marks)
Default: '20'.
If there is only a number value, for example: 20. The value marks would be displayed every 20 start from the minimum value. (if min is 0, then display '0 20 40 ...')
Another options for the marks can be specified as follows:
<rangeslider marks='10:10%, 20:20%, 50:50%, 80:80%'
It means that each value mark could be displayed in different text.
marks
- the value marks displaying informationpublic String getMarks()
public void setStep(int step)
Default: 1
step
- public int getStep()
public void setOrient(String orient)
Default : 'horizontal'
orient
- either 'horizontal' or 'vertical'.public String getOrient()
Default: 'horizontal'.
public void setDisabled(boolean disabled)
disabled
- public boolean isDisabled()
Default: false.
public void setTooltipVisible(boolean tooltipVisible)
tooltipVisible
- public boolean isTooltipVisible()
public boolean isVertical()
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.