Package com.enonic.xp.form
Class FormOptionSet
- java.lang.Object
-
- com.enonic.xp.form.FormItem
-
- com.enonic.xp.form.FormOptionSet
-
- All Implemented Interfaces:
java.lang.Iterable<FormOptionSetOption>
public class FormOptionSet extends FormItem implements java.lang.Iterable<FormOptionSetOption>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FormOptionSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormItem
copy()
static FormOptionSet.Builder
create()
static FormOptionSet.Builder
create(FormOptionSet formOptionSet)
boolean
equals(java.lang.Object o)
FormItems
getFormItems()
java.lang.String
getHelpText()
java.lang.String
getHelpTextI18nKey()
java.lang.String
getLabel()
java.lang.String
getLabelI18nKey()
Occurrences
getMultiselection()
java.lang.String
getName()
Occurrences
getOccurrences()
FormItemType
getType()
int
hashCode()
boolean
isExpanded()
boolean
isRequired()
java.util.Iterator<FormOptionSetOption>
iterator()
-
Methods inherited from class com.enonic.xp.form.FormItem
getParent, getPath, toFormItemSet, toFormOptionSet, toFormOptionSetOption, toInlineMixin, toInput, toLayout, toString
-
-
-
-
Method Detail
-
getType
public FormItemType getType()
-
getFormItems
public FormItems getFormItems()
-
getLabel
public java.lang.String getLabel()
-
getLabelI18nKey
public java.lang.String getLabelI18nKey()
-
getOccurrences
public Occurrences getOccurrences()
-
getMultiselection
public Occurrences getMultiselection()
-
isExpanded
public boolean isExpanded()
-
getHelpText
public java.lang.String getHelpText()
-
getHelpTextI18nKey
public java.lang.String getHelpTextI18nKey()
-
isRequired
public boolean isRequired()
-
iterator
public java.util.Iterator<FormOptionSetOption> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<FormOptionSetOption>
-
create
public static FormOptionSet.Builder create()
-
create
public static FormOptionSet.Builder create(FormOptionSet formOptionSet)
-
-