Class DateRangeInputBuilder
Builder class for input type DateRangeUserEntry
InputType.DATERANGEUSERENTRY
.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth
-
Field Summary
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
ModifierConstructorDescriptionprotected
DateRangeInputBuilder
(InputBuilderContext builderContext, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Sets the from value of the date range input field.Set to value of the date range input field.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
-
DateRangeInputBuilder
-
-
Method Details
-
setFrom
Sets the from value of the date range input field.Example:
api.inputBuilderFactory() .createDateRangeUserEntry("dateRange") .setFrom("2019-10-01") .setTo("2019-11-01") .buildContextParameter()
- Parameters:
from
- Date from, as a String- Returns:
- self
-
setTo
Set to value of the date range input field.Example:
api.inputBuilderFactory() .createDateRangeUserEntry("dateRange") .setFrom("2019-10-01") .setTo("2019-11-01") .buildContextParameter()
- Parameters:
to
- Date to, as a String- Returns:
- self
-
_getInput
- Specified by:
_getInput
in classAbstractInputBuilder<DateRangeInputBuilder,
String[]>
-