Package com.adobe.acs.commons.mcp.form
Class AbstractContainerComponent
java.lang.Object
com.adobe.acs.commons.mcp.form.FieldComponent
com.adobe.acs.commons.mcp.form.AbstractContainerComponent
- Direct Known Subclasses:
ContainerComponent,FormComponent,MultifieldComponent
Represent a generic container component which has one or more children
-
Nested Class Summary
Nested classes/interfaces inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
FieldComponent.ClientLibraryType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(String name, FieldComponent field) voidapplyDialogProviderSettings(DialogProvider providerAnnotation) protected AbstractResourceImplgenerateItemsResource(String path, boolean useFieldSet) booleanhasCategories(Collection<FieldComponent> values) voidinit()booleanbooleanvoidsetComposite(boolean val) Set the composite flag (generally you don't need to but in case you have to override the behavior for some reason)voidsetDefaultChildComponent(Class<? extends FieldComponent> defaultChildComponent) voidsetDialogStyle(DialogProvider.DialogStyle dialogStyle) voidsetForceDotSlashPrefix(boolean forceDotSlashPrefix) voidvoidsetPropertiesTabName(String propertiesTabName) Methods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, buildComponentResource, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getProperties, getResourceSuperType, getResourceType, hasOption, purgeEmptyProperties, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
Constructor Details
-
AbstractContainerComponent
public AbstractContainerComponent()
-
-
Method Details
-
applyDialogProviderSettings
-
init
public void init()- Specified by:
initin classFieldComponent
-
getGroupingContainer
-
setGroupingContainer
-
getFieldComponents
-
generateDefaultChildComponent
-
addComponent
-
generateItemsResource
-
setComposite
public void setComposite(boolean val) Set the composite flag (generally you don't need to but in case you have to override the behavior for some reason)- Parameters:
val- new value for composite flag
-
isComposite
public boolean isComposite()- Returns:
- the composite
-
hasCategories
-
setDefaultChildComponent
- Parameters:
defaultChildComponent- the defaultChildComponent to set
-
getDialogStyle
- Returns:
- the dialogStyle
-
setDialogStyle
- Parameters:
dialogStyle- the dialogStyle to set
-
getPropertiesTabName
- Returns:
- the propertiesTabName
-
setPropertiesTabName
- Parameters:
propertiesTabName- the propertiesTabName to set
-
isForceDotSlashPrefix
public boolean isForceDotSlashPrefix()- Returns:
- the forceDotSlashPrefix
-
setForceDotSlashPrefix
public void setForceDotSlashPrefix(boolean forceDotSlashPrefix) - Parameters:
forceDotSlashPrefix- the forceDotSlashPrefix to set
-