Class SliderInputBuilder
Object
AbstractInputBuilder<SliderInputBuilder,BigDecimal>
AbstractSliderBuilder<SliderInputBuilder,BigDecimal>
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
ConstructorsModifierConstructorDescriptionprotected
SliderInputBuilder
(InputBuilderContext builderContext, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionSets the colours of the range slider (needs to be two elements collection, if not theInputBuilderExceptions.ColourSectionsNumberException
will be thrown).
List of possible values: informative (blue) negative (red) negative-strong (super red) positive (green) positive-strong (super green) warning (yellow) neutral (gray) accent (current accent color from settings) inverted (dark color for white theme, light color for dark theme) Example:Methods inherited from class AbstractSliderBuilder
_getInput, hideTrack, setFrom, setStep, setSubLabels, setTo
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
-
setColour
Sets the colours of the range slider (needs to be two elements collection, if not theInputBuilderExceptions.ColourSectionsNumberException
will be thrown).
List of possible values:- informative (blue)
- negative (red)
- negative-strong (super red)
- positive (green)
- positive-strong (super green)
- warning (yellow)
- neutral (gray)
- accent (current accent color from settings)
- inverted (dark color for white theme, light color for dark theme)
The range slider entry is rendered with colours:def slider = api.inputBuilderFactory() .createRangeSliderEntry("myRangeSlider") .setColour(['neutral', 'accent']) .buildContextParameter();
- Specified by:
setColour
in classAbstractSliderBuilder<SliderInputBuilder,
BigDecimal> - Parameters:
colours
- of the slider.- Returns:
- self
- Since:
- 15.0 Southside
-