Class SliderInputBuilder
Builder class for input type Slider
InputType.SLIDER
.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth
-
Field Summary
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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).setFormatType
(SliderInputBuilder.FormatType formatType) Sets the format type of the slider range.setFrom
(BigDecimal from) Sets the lower bound of the slider range.setMaximumValue
(BigDecimal maxValue) Sets the maximum value of the upper bound of the slider range.setMinimumValue
(BigDecimal minValue) Sets the minimum value of 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, setAllValueTypesTracking, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDefaultValueTracking, setDefaultWidth, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFirstRunTracking, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setLogActivity, setNoRefresh, setParameterGroup, setPlaceholderText, setPreviousValueTracking, setReadOnly, setRequired, setShowInline, setSize, setStoreAuditTrail, setSuccessMessage, setTab, setTheme, setTitle, setTrackedValue, setUserGroupEdit, setUserGroupEdit, setUserGroupView, setUserGroupView, setValue, setValueChangeTracking, 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
-
setMinimumValue
Sets the minimum value of the lower bound of the slider range.- Parameters:
minValue
- the minimum value of the lower bound of the slider range.- Returns:
- self
- Since:
- 15.0 - Southside
-
setMaximumValue
Sets the maximum value of the upper bound of the slider range.- Parameters:
maxValue
- the maximum value of the lower bound of the slider range.- Returns:
- self
- Since:
- 15.0 - Southside
-
setFormatType
Sets the format type of the slider range.- Parameters:
formatType
- format type asSliderInputBuilder.FormatType.NUMERIC
orSliderInputBuilder.FormatType.PERCENT
.- Returns:
- self
- Since:
- 15.0 - Southside
-
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>
-