public interface Slider<V extends java.lang.Number> extends Field<V>, HasDatatype<V>, HasOrientation
Field.Validator<T>HasValue.ValueChangeEvent<V>Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.WrapperHasContextHelp.ContextHelpIconClickEventHasOrientation.Orientation| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS| Modifier and Type | Method and Description |
|---|---|
V |
getMax() |
V |
getMin() |
int |
getResolution() |
boolean |
isUpdateValueOnCLick() |
void |
setMax(V max)
Sets the maximum value of the slider.
|
void |
setMin(V min)
Sets the minimum value of the slider.
|
void |
setResolution(int resolution)
Sets the number of digits after the decimal point.
|
void |
setUpdateValueOnClick(boolean updateValueOnClick)
Sets the slider to update its value when the user clicks on it.
|
addValidator, addValidators, getRequiredMessage, getValidators, isRequired, removeValidator, setRequired, setRequiredMessagegetDatasource, getMetaProperty, getMetaPropertyPath, setDatasourceaddValueChangeListener, clear, getEmptyValue, getValue, isEmpty, removeValueChangeListener, setValueaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetValueSource, setValueSourceisEditable, isEditableWithParent, setEditablegetFrame, setFrameisValid, isValidateOnCommit, validategetIcon, setIcon, setIconFromSetgetContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledisCaptionAsHtml, setCaptionAsHtmlgetCaption, setCaptiongetDescription, setDescriptionisDescriptionAsHtml, setDescriptionAsHtmlisHtmlSanitizerEnabled, setHtmlSanitizerEnabledgetDatatype, setDatatypegetOrientation, setOrientationstatic final java.lang.String NAME
void setMin(V min)
min - the minimum value of the sliderV getMin()
void setMax(V max)
max - the maximum value of the sliderV getMax()
void setResolution(int resolution)
resolution - the number of digits after the decimal pointint getResolution()
void setUpdateValueOnClick(boolean updateValueOnClick)
By default this behavior is disabled.
updateValueOnClick - true to update the value of the slider on clickboolean isUpdateValueOnCLick()
true if the slider updates its value on click