@ConsumerType public interface LayoutContainer extends Container
LayoutContainer
Sling Model used for the /apps/core/wcm/components/container
component.Modifier and Type | Interface and Description |
---|---|
static class |
LayoutContainer.LayoutType
Enumeration of supported layout types for the container component
|
Modifier and Type | Field and Description |
---|---|
static String |
PN_LAYOUT
Name of the resource property that indicates the layout that should be used by the container component.
|
PN_BACKGROUND_COLOR, PN_BACKGROUND_COLOR_ENABLED, PN_BACKGROUND_COLOR_SWATCHES_ONLY, PN_BACKGROUND_IMAGE_ENABLED, PN_BACKGROUND_IMAGE_REFERENCE
Modifier and Type | Method and Description |
---|---|
default String |
getAccessibilityLabel()
Returns an accessibility label that describes the container.
|
default @NotNull LayoutContainer.LayoutType |
getLayout()
Returns the
LayoutContainer.LayoutType to be used by the container component |
default String |
getRoleAttribute()
Returns a role attribute to be used on the container.
|
getBackgroundStyle, getExportedItems, getExportedItemsOrder, getItems
getAppliedCssClasses, getData, getExportedType, getId
static final String PN_LAYOUT
@NotNull default @NotNull LayoutContainer.LayoutType getLayout()
LayoutContainer.LayoutType
to be used by the container componentLayoutContainer.LayoutType
for the container componentdefault String getAccessibilityLabel()
default String getRoleAttribute()
Copyright © 2021. All rights reserved.