Package com.enonic.xp.form
Class FormItemSet
- java.lang.Object
-
- com.enonic.xp.form.FormItem
-
- com.enonic.xp.form.FormItemSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FormItemSet.Builder
-
Method Summary
-
Methods inherited from class com.enonic.xp.form.FormItem
getParent, getPath, toFormItemSet, toFormOptionSet, toFormOptionSetOption, toInlineMixin, toInput, toLayout
-
-
-
-
Method Detail
-
getType
public FormItemType getType()
-
add
public void add(FormItem formItem)
-
getLabel
public java.lang.String getLabel()
-
isRequired
public boolean isRequired()
-
isImmutable
public boolean isImmutable()
-
isMultiple
public boolean isMultiple()
-
getOccurrences
public Occurrences getOccurrences()
-
getCustomText
public java.lang.String getCustomText()
-
getHelpText
public java.lang.String getHelpText()
-
getFormItems
public FormItems getFormItems()
-
getLabelI18nKey
public java.lang.String getLabelI18nKey()
-
getHelpTextI18nKey
public java.lang.String getHelpTextI18nKey()
-
iterator
public java.util.Iterator<FormItem> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<FormItem>
-
copy
public FormItemSet copy()
-
getFormItem
public FormItem getFormItem(java.lang.String path)
-
getFormItem
public FormItem getFormItem(FormItemPath path)
-
getFormItemSet
public FormItemSet getFormItemSet(java.lang.String path)
-
getFormItemSet
public FormItemSet getFormItemSet(FormItemPath path)
-
getInput
public Input getInput(java.lang.String path)
-
getInput
public Input getInput(FormItemPath path)
-
getInlineMixin
public InlineMixin getInlineMixin(java.lang.String name)
-
getInlineMixin
public InlineMixin getInlineMixin(FormItemPath formItemPath)
-
getLayout
public Layout getLayout(java.lang.String name)
-
create
public static FormItemSet.Builder create()
-
create
public static FormItemSet.Builder create(FormItemSet formItemSet)
-
-