Class SliderInputBuilder
Builder class for input type Slider
InputType.SLIDER
.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth
-
Field Summary
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
ModifierConstructorDescriptionprotected
SliderInputBuilder
(InputBuilderContext builderContext, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
hideTrack
(boolean hideTrack) Shows or hide the slider track (colored bar from lower bound to the cursor materializing the selected value).setFrom
(BigDecimal from) Sets the lower bound of the slider range.setStep
(BigDecimal step) Sets the slider step.setSubLabels
(String left, String right) Sets the sub labels displayed respectively on the left and the right of the slider.setTo
(BigDecimal to) Sets the upper bound of the slider range.Methods inherited from class AbstractInputBuilder
addOrUpdateInput, addToConfiguratorEntry, addToConfiguratorEntry, buildContextParameter, buildMap, getInput, self, setAccessCode, setAlign, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDefaultWidth, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setNoRefresh, setParameterGroup, setPlaceholderText, setReadOnly, setRequired, setShowInline, setSize, setSuccessMessage, setTheme, setTitle, setUserGroupEdit, setUserGroupView, setValue, setValueHint, setWarningMessage, setWidth
-
Constructor Details
-
SliderInputBuilder
-
-
Method Details
-
setFrom
Sets the lower bound of the slider range.- Parameters:
from
- the lower bound of the slider range.- Returns:
- self
- Since:
- 10.1 Bee's Knees
-
setTo
Sets the upper bound of the slider range.- Parameters:
to
- the upper bound of the slider range.- Returns:
- self
- Since:
- 10.1 Bee's Knees
-
setStep
Sets the slider step.- Parameters:
step
- the slider step.- Returns:
- self
- Since:
- 10.1 Bee's Knees
-
hideTrack
Shows or hide the slider track (colored bar from lower bound to the cursor materializing the selected value).- Parameters:
hideTrack
- true to hide the track, false to display the track.- Returns:
- self
- Since:
- 10.1 Bee's Knees
-
setSubLabels
Sets the sub labels displayed respectively on the left and the right of the slider.- Parameters:
left
- left sub label.right
- right sub label.- Returns:
- self
- Since:
- 10.1 Bee's Knees
-
_getInput
- Specified by:
_getInput
in classAbstractInputBuilder<SliderInputBuilder,
BigDecimal>
-