Class AbstractCheckboxImpl
- java.lang.Object
-
- com.adobe.cq.forms.core.components.util.AbstractComponentImpl
-
- com.adobe.cq.forms.core.components.util.AbstractFormComponentImpl
-
- com.adobe.cq.forms.core.components.util.AbstractBaseImpl
-
- com.adobe.cq.forms.core.components.util.AbstractFieldImpl
-
- com.adobe.cq.forms.core.components.util.AbstractOptionsFieldImpl
-
- com.adobe.cq.forms.core.components.util.AbstractCheckboxImpl
-
- All Implemented Interfaces:
com.adobe.cq.export.json.ComponentExporter,Base,BaseConstraint,Field,FormComponent,OptionsConstraint,Component
public abstract class AbstractCheckboxImpl extends AbstractOptionsFieldImpl
Abstract class which can be used as base class forBaseimplementations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
BaseConstraint.Type
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.forms.core.components.util.AbstractFormComponentImpl
CUSTOM_DOR_PROPERTY_WRAPPER, CUSTOM_JCR_PATH_PROPERTY_WRAPPER, CUSTOM_RULE_PROPERTY_WRAPPER
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.Base
DATE_FORMATTER, DEFAULT_LANGUAGE
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
CUSTOM_PROPERTY_WRAPPER
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckboxImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getEnums()Returns a list of options to put restrictions on the possible values of the field.java.lang.StringgetFieldType()Returns the view typevoidinitBaseCheckboxModel()-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractOptionsFieldImpl
getDefault, getEnumNames, isEnforceEnum
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractFieldImpl
getDataFormat, getDisplayFormat, getDisplayValueExpression, getEditFormat, getPlaceHolder, getReadOnlyIfPresent, getRequiredIfPresent, isReadOnly, isRequired
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractBaseImpl
getConstraintMessages, getCustomLayoutProperties, getDescription, getEnabledIfPresent, getExportedType, getHtmlScreenReaderText, getLabel, getLang, getScreenReaderText, getTooltip, getTooltipText, getType, getValidationExpression, isEnabled, isTooltipVisible
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractFormComponentImpl
getData, getDataRef, getDorProperties, getEvents, getLinkUrl, getName, getPath, getProperties, getRules, getText, getTitle, getVisibleIfPresent, isVisible, setI18n
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractComponentImpl
getAppliedCssClasses, getId
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Base
getConstraintMessages, getDescription, getExportedType, getHtmlScreenReaderText, getLabel, getLang, getScreenReaderText, getTooltip, isEnabled, isTooltipVisible
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
getType, getValidationExpression
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getId
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
getDataRef, getDorProperties, getEvents, getName, getPath, getProperties, getRules, isVisible, setI18n
-
-
-
-
Method Detail
-
initBaseCheckboxModel
@PostConstruct public void initBaseCheckboxModel()
-
getEnums
public java.lang.Object[] getEnums()
Description copied from interface:OptionsConstraintReturns a list of options to put restrictions on the possible values of the field. The type of values in the enum array must match the value of the type property defined in the field.- Specified by:
getEnumsin interfaceOptionsConstraint- Overrides:
getEnumsin classAbstractOptionsFieldImpl- Returns:
- the list of enum
-
getFieldType
public java.lang.String getFieldType()
Description copied from class:AbstractFormComponentImplReturns the view type- Specified by:
getFieldTypein interfaceFormComponent- Overrides:
getFieldTypein classAbstractFormComponentImpl- Returns:
- the view type
-
-