Interface Options
-
- All Superinterfaces:
ComponentExporter
,Field
@ConsumerType public interface Options extends Field
Defines the formOptions
Sling Model used for the/apps/core/wcm/components/form/options
component.- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Options.Type
Defines the Options type.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.List<OptionItem>
getItems()
Returns the list of all the options.default Options.Type
getType()
Returns the type of the options element.-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.form.Field
getExportedType, getHelpMessage, getId, getName, getTitle, getValue
-
-
-
-
Method Detail
-
getItems
default java.util.List<OptionItem> getItems()
Returns the list of all the options.- Returns:
- the list of all the options
- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
default
in 14.1.0
-
getType
default Options.Type getType()
Returns the type of the options element.- Returns:
- the type of the options element
Possible values:checkbox
,radio
,drop-down
,multi-drop-down
- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
default
in 14.1.0
-
-