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
public class AbstractContainerComponent extends FieldComponent
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 Constructor Description AbstractContainerComponent()
-
Method Summary
-
Methods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, buildComponentResource, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getComponentMetadata, getField, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getResourceSuperType, getResourceType, hasOption, purgeEmptyMetadata, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
-
-
-
Method Detail
-
applyDialogProviderSettings
public void applyDialogProviderSettings(DialogProvider providerAnnotation)
-
init
public void init()
- Specified by:
initin classFieldComponent
-
getGroupingContainer
public AbstractGroupingContainerComponent getGroupingContainer()
-
setGroupingContainer
public void setGroupingContainer(AbstractGroupingContainerComponent comp)
-
getFieldComponents
public Map<String,FieldComponent> getFieldComponents()
-
generateDefaultChildComponent
public FieldComponent generateDefaultChildComponent()
-
addComponent
public void addComponent(String name, FieldComponent field)
-
generateItemsResource
protected AbstractResourceImpl generateItemsResource(String path, boolean useFieldSet)
-
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
public boolean hasCategories(Collection<FieldComponent> values)
-
setDefaultChildComponent
public void setDefaultChildComponent(Class<? extends FieldComponent> defaultChildComponent)
- Parameters:
defaultChildComponent- the defaultChildComponent to set
-
getDialogStyle
public DialogProvider.DialogStyle getDialogStyle()
- Returns:
- the dialogStyle
-
setDialogStyle
public void setDialogStyle(DialogProvider.DialogStyle dialogStyle)
- Parameters:
dialogStyle- the dialogStyle to set
-
getPropertiesTabName
public String getPropertiesTabName()
- Returns:
- the propertiesTabName
-
setPropertiesTabName
public void setPropertiesTabName(String propertiesTabName)
- 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
-
-