Package com.enonic.xp.form
Class Input
- java.lang.Object
-
- com.enonic.xp.form.FormItem
-
- com.enonic.xp.form.Input
-
@PublicApi public final class Input extends FormItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Inputcopy()static Input.Buildercreate()static Input.Buildercreate(Input input)booleanequals(Object o)StringgetCustomText()InputTypeDefaultgetDefaultValue()StringgetHelpText()StringgetHelpTextI18nKey()InputTypeNamegetInputType()InputTypeConfiggetInputTypeConfig()StringgetLabel()StringgetLabelI18nKey()StringgetName()OccurrencesgetOccurrences()FormItemTypegetType()StringgetValidationRegexp()inthashCode()booleanisImmutable()booleanisIndexed()booleanisMaximizeUIInputWidth()booleanisMultiple()booleanisRequired()-
Methods inherited from class com.enonic.xp.form.FormItem
getParent, getPath, toFormItemSet, toFormOptionSet, toFormOptionSetOption, toInlineMixin, toInput, toLayout, toString
-
-
-
-
Method Detail
-
getType
public FormItemType getType()
-
getInputType
public InputTypeName getInputType()
-
getLabel
public String getLabel()
-
getDefaultValue
public InputTypeDefault getDefaultValue()
-
isRequired
public boolean isRequired()
-
isImmutable
public boolean isImmutable()
-
isMultiple
public boolean isMultiple()
-
getOccurrences
public Occurrences getOccurrences()
-
isMaximizeUIInputWidth
public boolean isMaximizeUIInputWidth()
-
isIndexed
public boolean isIndexed()
-
getCustomText
public String getCustomText()
-
getValidationRegexp
public String getValidationRegexp()
-
getHelpText
public String getHelpText()
-
getInputTypeConfig
public InputTypeConfig getInputTypeConfig()
-
getLabelI18nKey
public String getLabelI18nKey()
-
getHelpTextI18nKey
public String getHelpTextI18nKey()
-
create
public static Input.Builder create()
-
create
public static Input.Builder create(Input input)
-
-