Interface OptionItem
Interface for a single item of the
Options form element.- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetText()Return the text for this item.default StringgetValue()Returns the value of this item.default booleanReturnstrueif item should be disabled and therefore not clickable, otherwisefalse.default booleanReturnstrueif item should be initially selected, otherwisefalse.
-
Method Details
-
isSelected
default boolean isSelected()Returnstrueif item should be initially selected, otherwisefalse.- Returns:
trueif item should be initially selected, otherwisefalse- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
isDisabled
default boolean isDisabled()Returnstrueif item should be disabled and therefore not clickable, otherwisefalse.- Returns:
trueif item should be disabled and therefore not clickable, otherwisefalse- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getValue
Returns the value of this item.- Returns:
- the value of this item
- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-
getText
Return the text for this item.- Returns:
- the text for this item
- Since:
- com.adobe.cq.wcm.core.components.models.form 13.0.0; marked
defaultin 14.1.0
-