Interface FileInput
-
- All Superinterfaces:
Base,BaseConstraint,Component,com.adobe.cq.export.json.ComponentExporter,ContainerConstraint,Field,FileConstraint,FormComponent
@ConsumerType public interface FileInput extends Field, FileConstraint, ContainerConstraint
Defines the formFileInputSling Model used for the/apps/core/fd/components/form/fileinput/v1/fileinputcomponent.- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
BaseConstraint.Type
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_BUTTON_TEXTstatic java.lang.StringDEFAULT_DRAGDROP_TEXT-
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.FileConstraint
DEFAULT_ACCEPT, DEFAULT_MAX_FILE_SIZE
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
CUSTOM_PROPERTY_WRAPPER
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetButtonText()Returns the text to be displayed on the file input buttondefault java.lang.BooleanisMultiple()Returnstrueif multiple files can be selected,falseotherwise-
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, isRequired
-
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.ContainerConstraint
getMaxItems, getMaxOccur, getMinItems, getMinOccur, isRepeatable
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Field
getDataFormat, getDefault, getDisplayFormat, getDisplayValueExpression, getEditFormat, getPlaceHolder, isReadOnly
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FileConstraint
getAccept, getFormat, getMaxFileSize
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
getDataRef, getDorProperties, getEvents, getFieldType, getName, getPath, getProperties, getRules, isVisible, setI18n
-
-
-
-
Field Detail
-
DEFAULT_BUTTON_TEXT
static final java.lang.String DEFAULT_BUTTON_TEXT
- See Also:
- Constant Field Values
-
DEFAULT_DRAGDROP_TEXT
static final java.lang.String DEFAULT_DRAGDROP_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isMultiple
default java.lang.Boolean isMultiple()
Returnstrueif multiple files can be selected,falseotherwise- Returns:
trueif multiple files can be selected,falseotherwise
-
getButtonText
default java.lang.String getButtonText()
Returns the text to be displayed on the file input button- Returns:
- text to be displayed on the file input buttone
-
-