Package com.enonic.xp.form
Class FormOptionSet
- java.lang.Object
-
- com.enonic.xp.form.FormItem
-
- com.enonic.xp.form.FormOptionSet
-
- All Implemented Interfaces:
Iterable<FormOptionSetOption>
public class FormOptionSet extends FormItem implements Iterable<FormOptionSetOption>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormOptionSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormItemcopy()static FormOptionSet.Buildercreate()static FormOptionSet.Buildercreate(FormOptionSet formOptionSet)booleanequals(Object o)FormItemsgetFormItems()StringgetHelpText()StringgetHelpTextI18nKey()StringgetLabel()StringgetLabelI18nKey()OccurrencesgetMultiselection()StringgetName()OccurrencesgetOccurrences()FormItemTypegetType()inthashCode()booleanisExpanded()booleanisRequired()Iterator<FormOptionSetOption>iterator()-
Methods inherited from class com.enonic.xp.form.FormItem
getParent, getPath, toFormItemSet, toFormOptionSet, toFormOptionSetOption, toInlineMixin, toInput, toLayout, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getType
public FormItemType getType()
-
getFormItems
public FormItems getFormItems()
-
getLabel
public String getLabel()
-
getLabelI18nKey
public String getLabelI18nKey()
-
getOccurrences
public Occurrences getOccurrences()
-
getMultiselection
public Occurrences getMultiselection()
-
isExpanded
public boolean isExpanded()
-
getHelpText
public String getHelpText()
-
getHelpTextI18nKey
public String getHelpTextI18nKey()
-
isRequired
public boolean isRequired()
-
iterator
public Iterator<FormOptionSetOption> iterator()
- Specified by:
iteratorin interfaceIterable<FormOptionSetOption>
-
create
public static FormOptionSet.Builder create()
-
create
public static FormOptionSet.Builder create(FormOptionSet formOptionSet)
-
-