Package com.kheops.jmap.metadata.forms
Class AbstractFormSelectField
java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.metadata.forms.AbstractFormField
com.kheops.jmap.metadata.forms.AbstractFormInputField
com.kheops.jmap.metadata.forms.AbstractFormSelectField
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
FormSelectManyField
,FormSelectOneField
,FormTreeField
public abstract class AbstractFormSelectField
extends AbstractFormInputField
implements Serializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
Fields inherited from class com.kheops.jmap.metadata.forms.AbstractFormInputField
attribute, FIELD_PARAM_ATTRIBUTE_NAME, FIELD_PARAM_ATTRIBUTE_SQL_TYPE, FIELD_PARAM_DEFAULT, FIELD_PARAM_LABEL_PREFIX, FIELD_PARAM_LABEL_SUFFIX, FIELD_PARAM_READ_ONLY, FIELD_PARAM_REQUIRED, FIELD_PARAM_RULE_CALCULATED, FIELD_PARAM_RULE_READ_ONLY, FIELD_PARAM_RULE_REQUIRED, FIELD_PARAM_RULE_VISIBLE
Fields inherited from class com.kheops.jmap.metadata.forms.AbstractFormField
FIELD_ALIGNMENT_CENTER, FIELD_ALIGNMENT_LEFT, FIELD_ALIGNMENT_RIGHT, FIELD_PARAM_ALIGNMENT, FIELD_PARAM_COL, FIELD_PARAM_COLSPAN, FIELD_PARAM_ROW, FIELD_PARAM_TOOLTIP, FIELD_PARAM_WIDTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyGuiParams
(Map<String, String> mapGuiParams) protected void
cloneImpl
(AbstractFormSelectField abstractFormSelectField) getDatabaseLabelsColumnName
(Locale locale) getItemValueLabelPair
(Object itemValueOrLabel) void
setChoicesSource
(AbstractFormSelectField.ChoicesSource choicesSource) void
setDatabaseLabelsColumnName
(String databaseLabelsColumnName, Locale locale) void
setDatabaseValuesParentColumnName
(String databaseValuesParentColumnName) void
setParentAttribute
(Attribute parentAttribute) Methods inherited from class com.kheops.jmap.metadata.forms.AbstractFormInputField
cloneImpl, getLabelPrefix, getLabelSuffix, isReadOnly, isRequired, parseDefaultValue, removeTranslationsOtherThan, setAttribute, setLabelPrefix, setLabelSuffix
Methods inherited from class com.kheops.jmap.metadata.forms.AbstractFormField
clone, cloneImpl, createInstance, getToolTip, getToolTip, setAlignment, setColSpan, setToolTip, setToolTip, setWidth
Methods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslations
-
Field Details
-
FIELD_PARAM_CHOICES_SOURCE
-
FIELD_PARAM_CHOICES_DB_POOL_NAME
-
FIELD_PARAM_CHOICES_DB_POOL_ID
-
FIELD_PARAM_CHOICES_DB_SQL_QUERY
-
FIELD_PARAM_CHOICES_DB_VALUE_COLUMN_NAME
-
FIELD_PARAM_CHOICES_DB_VALUE_PARENT_COLUMN_NAME
-
FIELD_PARAM_CHOICES_DB_LABEL_COLUMN_NAME
-
FIELD_PARAM_CHOICES_CUSTOM
-
FIELD_PARAM_CHOICES_KEY_VALUE_PAIR_COUNT
-
FIELD_PARAM_CHOICES_KEY_VALUE_PAIR_LABEL
-
FIELD_PARAM_CHOICES_KEY_VALUE_PAIR_VALUE
-
FIELD_PARAM_CHOICES_KEY_VALUE_PAIR_PARENT_VALUE
-
FIELD_PARAM_CHOICES_KEY_VALUE_PAIR_TYPE
-
FIELD_PARAM_CHOICES_PARENT_ATTRIBUTE_NAME
-
FIELD_PARAM_CHOICES_PARENT_ATTRIBUTE_SQL_TYPE
-
FIELD_PARAM_CHOICES_CODED_VALUES_PROVIDER
-
-
Constructor Details
-
AbstractFormSelectField
-
-
Method Details
-
getChoicesSource
-
setChoicesSource
-
getListValues
-
getItemValueLabelPair
-
getDatabaseValuesParentColumnName
-
setDatabaseValuesParentColumnName
-
getDatabaseLabelsColumnName
-
setDatabaseLabelsColumnName
-
getParentAttribute
-
setParentAttribute
-
applyGuiParams
- Overrides:
applyGuiParams
in classAbstractFormInputField
-
getGuiParams
- Overrides:
getGuiParams
in classAbstractFormInputField
-
cloneImpl
-