Package com.adobe.acs.commons.mcp.form
Class ContainerComponent
- java.lang.Object
-
- com.adobe.acs.commons.mcp.form.FieldComponent
-
- com.adobe.acs.commons.mcp.form.AbstractContainerComponent
-
- com.adobe.acs.commons.mcp.form.ContainerComponent
-
- Direct Known Subclasses:
AbstractGroupingContainerComponent,FieldsetComponent
public class ContainerComponent extends AbstractContainerComponent
Simplest possible container with optional title property
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
FieldComponent.ClientLibraryType
-
-
Constructor Summary
Constructors Constructor Description ContainerComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sling.api.resource.ResourcebuildComponentResource()If your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.StringgetTitle()voidinit()voidsetTitle(String title)-
Methods inherited from class com.adobe.acs.commons.mcp.form.AbstractContainerComponent
addComponent, applyDialogProviderSettings, generateDefaultChildComponent, generateItemsResource, getDialogStyle, getFieldComponents, getGroupingContainer, getPropertiesTabName, hasCategories, isComposite, isForceDotSlashPrefix, setComposite, setDefaultChildComponent, setDialogStyle, setForceDotSlashPrefix, setGroupingContainer, setPropertiesTabName
-
Methods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
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, setup
-
-
-
-
Field Detail
-
JCR_TITLE
public static final String JCR_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
- Overrides:
initin classAbstractContainerComponent
-
buildComponentResource
public org.apache.sling.api.resource.Resource buildComponentResource()
Description copied from class:FieldComponentIf your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.- Overrides:
buildComponentResourcein classFieldComponent- Returns:
-
getTitle
public String getTitle()
- Returns:
- the jcrTitle
-
setTitle
public void setTitle(String title)
- Parameters:
title- the jcrTitle to set
-
-