Interface IManagedInputWidgetDescription
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
ManagedComboBoxInputWidgetDescription
,ManagedInputWidgetDescription
,ManagedMultilineTextInputWidgetDescription
,ManagedTextInputWidgetDescription
public interface IManagedInputWidgetDescription extends java.io.Serializable
Interface implemented by objects describing an input UI element (text field, combo box).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the code of this input field.java.lang.String
getDescription()
java.lang.String
getLabel()
ManagedInputFieldType
getManagedInputFieldType()
java.lang.String
getValue()
boolean
isMandatory()
IManagedInputWidgetDescription
setDescription(java.lang.String description)
Sets description of this input field.IManagedInputWidgetDescription
setMandatory(boolean mandatory)
Sets mandatory flag of this input field (default: false)IManagedInputWidgetDescription
setValue(java.lang.String value)
Sets value / default value of this input field.
-
-
-
Method Detail
-
getCode
java.lang.String getCode()
Returns the code of this input field.
-
getLabel
java.lang.String getLabel()
- Returns:
- label of this input field
-
getManagedInputFieldType
ManagedInputFieldType getManagedInputFieldType()
- Returns:
- type of this input field
-
getValue
java.lang.String getValue()
- Returns:
- value set in this input field (either default value or value provided by a user).
-
setValue
IManagedInputWidgetDescription setValue(java.lang.String value)
Sets value / default value of this input field.- Returns:
- this (for method chaining)
-
getDescription
java.lang.String getDescription()
-
setDescription
IManagedInputWidgetDescription setDescription(java.lang.String description)
Sets description of this input field.- Returns:
- this (for method chaining)
-
isMandatory
boolean isMandatory()
- Returns:
- mandatory flag of this input field
-
setMandatory
IManagedInputWidgetDescription setMandatory(boolean mandatory)
Sets mandatory flag of this input field (default: false)- Returns:
- this (for method chaining)
-
-