Package com.adobe.acs.commons.mcp.form
Class AbstractGroupingContainerComponent
java.lang.Object
com.adobe.acs.commons.mcp.form.FieldComponent
com.adobe.acs.commons.mcp.form.AbstractContainerComponent
com.adobe.acs.commons.mcp.form.ContainerComponent
com.adobe.acs.commons.mcp.form.AbstractGroupingContainerComponent
- Direct Known Subclasses:
AbstractGroupingContainerComponent.AccordionComponent,AbstractGroupingContainerComponent.TabsComponent
An expression of the tab layout container with convenience methods to build
tabs more easily. The data structures are meant to show content in the order
it is added.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
FieldComponent.ClientLibraryType -
Field Summary
FieldsFields inherited from class com.adobe.acs.commons.mcp.form.ContainerComponent
JCR_TITLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(String group, String fieldName, FieldComponent component) org.apache.sling.api.resource.ResourceIf your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.getOrCreateGroup(String groupName) booleanisMargin()voidvoidsetMargin(boolean margin) Methods inherited from class com.adobe.acs.commons.mcp.form.ContainerComponent
getTitle, init, setTitleMethods 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, setPropertiesTabNameMethods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getProperties, getResourceSuperType, getResourceType, hasOption, purgeEmptyProperties, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
Field Details
-
GENERIC_GROUP
-
MARGIN_PROPERTY
- See Also:
-
ITEMS
- See Also:
-
-
Constructor Details
-
AbstractGroupingContainerComponent
public AbstractGroupingContainerComponent()
-
-
Method Details
-
getOrCreateGroup
-
addComponent
-
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 classContainerComponent- Returns:
-
getLayout
- Returns:
- the layout
-
setLayout
- Parameters:
layout- the layout to set
-
isMargin
public boolean isMargin()- Returns:
- the margin
-
setMargin
public void setMargin(boolean margin) - Parameters:
margin- the margin to set
-