Class VLookupBuilder
Builder class for input type Lookup
InputType.LOOKUP
.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth
-
Field Summary
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
ModifierConstructorDescriptionprotected
VLookupBuilder
(InputBuilderContext builderContext, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
setAttributeName
(String attributeName) Sets a new attribute for the VLookupBuilder instance.setAttributeNames
(List<String> attributeNames) Sets new list of the attributes for the VLookupBuilder instance.Set Map of keys for the VLookupBuilder instance.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
-
VLookupBuilder
-
-
Method Details
-
setAttributeName
Sets a new attribute for the VLookupBuilder instance.Example:
api.inputBuilderFactory() .createVLookup("lookup") .setAttributeName("myFavoriteLookup") .setKeys([KEY1: "key1", KEY2: "key2"]) .buildContextParameter()
- Parameters:
attributeName
- name of the attribute, as a String- Returns:
- self
-
setAttributeNames
Sets new list of the attributes for the VLookupBuilder instance.Example:
api.inputBuilderFactory() .createVLookup("lookup") .setAttributeNames(["name1", "name2"]) .setKeys([KEY1: "key1", KEY2: "key2"]) .buildContextParameter()
- Parameters:
attributeNames
- names of the attributes, as a List- Returns:
- self
-
setKeys
Set Map of keys for the VLookupBuilder instance.Example:
api.inputBuilderFactory() .createVLookup("lookup") .setAttributeNames(["name1", "name2"]) .setKeys([KEY1: "key1", KEY2: "key2"]) .buildContextParameter()
- Parameters:
keys
- keys to be set, as a Map- Returns:
- self
-
_getInput
- Specified by:
_getInput
in classAbstractInputBuilder<VLookupBuilder,
Object>
-