Class ContainerComponent

Direct Known Subclasses:
AbstractGroupingContainerComponent, FieldsetComponent

public class ContainerComponent extends AbstractContainerComponent
Simplest possible container with optional title property
  • Field Details

  • Constructor Details

    • ContainerComponent

      public ContainerComponent()
  • Method Details

    • init

      public void init()
      Overrides:
      init in class AbstractContainerComponent
    • buildComponentResource

      public org.apache.sling.api.resource.Resource buildComponentResource()
      Description copied from class: FieldComponent
      If your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.
      Overrides:
      buildComponentResource in class FieldComponent
      Returns:
    • getTitle

      public String getTitle()
      Returns:
      the jcrTitle
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - the jcrTitle to set