public class AutocompleteComponent extends FieldComponent
FieldComponent.ClientLibraryType| Constructor and Description |
|---|
AutocompleteComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.api.resource.Resource |
buildComponentResource()
If your component needs child nodes then override this method, call the
superclass implementation, and then use addChildren to add additional
nodes to it.
|
String |
getDatasource() |
String |
getDisplayProperty() |
String |
getIcon() |
String |
getOptions() |
String |
getOptionsQuery() |
String[] |
getPredicates() |
String |
getValues() |
void |
init() |
boolean |
isDisabled() |
boolean |
isForceSelection() |
boolean |
isMultiple() |
void |
setDatasource(String datasource) |
void |
setDisabled(boolean disabled) |
void |
setDisplayProperty(String displayProperty) |
void |
setForceSelection(boolean forceSelection) |
void |
setIcon(String icon) |
void |
setMultiple(boolean multiple) |
void |
setOptions(String options) |
void |
setOptionsQuery(String optionsQuery) |
void |
setPredicates(String[] predicates) |
void |
setValues(String values) |
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getComponentMetadata, getField, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getResourceSuperType, getResourceType, hasOption, purgeEmptyMetadata, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setuppublic void init()
init in class FieldComponentpublic org.apache.sling.api.resource.Resource buildComponentResource()
FieldComponentbuildComponentResource in class FieldComponentpublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - the disabled to setpublic boolean isMultiple()
public void setMultiple(boolean multiple)
multiple - the multiple to setpublic boolean isForceSelection()
public void setForceSelection(boolean forceSelection)
forceSelection - the forceSelection to setpublic String getIcon()
public void setIcon(String icon)
icon - the icon to setpublic String getDatasource()
public void setDatasource(String datasource)
datasource - the datasource to setpublic String getValues()
public void setValues(String values)
values - the values to setpublic String getOptions()
public void setOptions(String options)
options - the options to setpublic String getOptionsQuery()
public void setOptionsQuery(String optionsQuery)
optionsQuery - the optionsQuery to setpublic String getDisplayProperty()
public void setDisplayProperty(String displayProperty)
displayProperty - the displayProperty to setpublic String[] getPredicates()
public void setPredicates(String[] predicates)
predicates - the predicate to setCopyright © 2013–2020 Adobe. All rights reserved.