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
  • Constructor Details

    • AbstractContainerComponent

      public AbstractContainerComponent()
  • Method Details

    • applyDialogProviderSettings

      public void applyDialogProviderSettings(DialogProvider providerAnnotation)
    • init

      public void init()
      Specified by:
      init in class FieldComponent
    • 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