All Superinterfaces:
ComponentExporter, Field

@ConsumerType public interface Options extends Field
Defines the form Options Sling Model used for the /apps/core/wcm/components/form/options component.
Since:
com.adobe.cq.wcm.core.components.models.form 13.0.0
  • Method Details

    • getItems

      default 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