@Component(tag="slider", widgetClass="Slider", parentTag="*") public class Slider extends BaseUIComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
Slider.Orientation
Orientation of slider component.
|
BaseComponent.SubComponent| Constructor and Description |
|---|
Slider() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxValue()
Returns the maximum allowable value.
|
int |
getMinValue()
Returns the minimum allowable value.
|
Slider.Orientation |
getOrientation()
Returns the
orientation of the component. |
int |
getStep()
Returns the amount of change in the current value when an arrow button is clicked.
|
boolean |
getSynchronized()
Returns the synchronized setting.
|
int |
getValue()
Returns the current value of the slider.
|
void |
setMaxValue(int maxvalue)
Sets the maximum allowable value.
|
void |
setMinValue(int minvalue)
Sets the minimum allowable value.
|
void |
setOrientation(Slider.Orientation orientation)
Sets the
orientation of the component. |
void |
setStep(int step)
Sets the amount of change in the current value when an arrow button is clicked.
|
protected void |
setSynchronized(boolean synced)
Sets the synchronized setting.
|
void |
setValue(int value)
Sets the current value of the slider.
|
_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, removeClass, removeMask, removeStyle, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasEventListener, hasEventListener, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setParent, sub, swapChildren, sync, toString, trimify, validate, validate, validateChild, validateIsChild, validatePage, validateParent, wireController@Component.PropertyGetter(value="value") public int getValue()
@Component.PropertySetter(value="value") public void setValue(int value)
value - The current value of the slider.@Component.PropertyGetter(value="maxvalue") public int getMaxValue()
@Component.PropertySetter(value="maxvalue") public void setMaxValue(int maxvalue)
maxvalue - The maximum allowable value.@Component.PropertyGetter(value="minvalue") public int getMinValue()
@Component.PropertySetter(value="minvalue") public void setMinValue(int minvalue)
minvalue - The minimum allowable value.@Component.PropertyGetter(value="orientation") public Slider.Orientation getOrientation()
orientation of the component.orientation of the component.@Component.PropertySetter(value="orientation") public void setOrientation(Slider.Orientation orientation)
orientation of the component.orientation - The orientation of the component.@Component.PropertyGetter(value="step") public int getStep()
@Component.PropertySetter(value="step") public void setStep(int step)
step - The amount of change in the current value when an arrow button is clicked.@Component.PropertyGetter(value="synchronized") public boolean getSynchronized()
@Component.PropertySetter(value="synchronized") protected void setSynchronized(boolean synced)
synced - The synchronized setting.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.