Interface LayoutContainer

All Superinterfaces:
Component, ComponentExporter, Container, ContainerExporter

@ConsumerType public interface LayoutContainer extends Container
Defines the LayoutContainer Sling Model used for the /apps/core/wcm/components/container component.
Since:
com.adobe.cq.wcm.core.components.models 12.8.0
  • Field Details

    • PN_LAYOUT

      static final String PN_LAYOUT
      Name of the resource property that indicates the layout that should be used by the container component.
      Since:
      com.adobe.cq.wcm.core.components.models 12.8.0
      See Also:
  • Method Details

    • getLayout

      @NotNull default @NotNull LayoutContainer.LayoutType getLayout()
      Returns the LayoutContainer.LayoutType to be used by the container component
      Returns:
      LayoutContainer.LayoutType for the container component
      Since:
      com.adobe.cq.wcm.core.components.models 12.8.0
    • getAccessibilityLabel

      default String getAccessibilityLabel()
      Returns an accessibility label that describes the container.
      Returns:
      an accessibility label for the container
      Since:
      com.adobe.cq.wcm.core.components.models 12.20.0
    • getRoleAttribute

      default String getRoleAttribute()
      Returns a role attribute to be used on the container.
      Returns:
      a role attribute for the container
      Since:
      com.adobe.cq.wcm.core.components.models 12.20.0