@ProviderType public class ResponsiveColumn extends AbstractResource implements ResponsiveColumnExporter
RESOURCE_TYPE_NON_EXISTING| Constructor and Description |
|---|
ResponsiveColumn(Resource resource,
java.util.Map<java.lang.String,Breakpoint> gridBreakpoints,
java.lang.String classNamePrefix) |
ResponsiveColumn(Resource resource,
java.util.Map<java.lang.String,Breakpoint> gridBreakpoints,
java.lang.String classNamePrefix,
SlingHttpServletRequest slingRequest,
ModelFactory modelFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Breakpoint> |
getBreakpoints() |
java.lang.String |
getColumnClassNames() |
java.lang.Integer |
getColumnCount(java.lang.String breakpointName)
Deprecated.
|
java.lang.String |
getCssClass()
Deprecated.
|
ComponentExporter |
getExportedComponent() |
java.lang.String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
java.util.Set<java.lang.String> |
getMissingBreakpointNames()
Deprecated.
Use
getBreakpoints() |
java.lang.String |
getPath()
Returns the absolute path of this resource in the resource tree.
|
ValueMap |
getProperties()
Deprecated.
|
Resource |
getResource() |
ResourceMetadata |
getResourceMetadata()
Deprecated.
|
ResourceResolver |
getResourceResolver()
Deprecated.
|
java.lang.String |
getResourceSuperType()
Deprecated.
|
java.lang.String |
getResourceType()
Deprecated.
|
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenadaptTo, setAdapterManager, unsetAdapterManagerpublic ResponsiveColumn(Resource resource, java.util.Map<java.lang.String,Breakpoint> gridBreakpoints, java.lang.String classNamePrefix)
public ResponsiveColumn(Resource resource, java.util.Map<java.lang.String,Breakpoint> gridBreakpoints, java.lang.String classNamePrefix, SlingHttpServletRequest slingRequest, ModelFactory modelFactory)
public java.util.Map<java.lang.String,Breakpoint> getBreakpoints()
getBreakpoints in interface ResponsiveColumnExporterBreakpoints associated with the column. The keys of the map are the breakpoint names.public java.lang.String getColumnClassNames()
getColumnClassNames in interface ResponsiveColumnExporter@Nonnull public ComponentExporter getExportedComponent()
getExportedComponent in interface ResponsiveColumnExporter@Nonnull public java.lang.String getExportedType()
ResponsiveColumnExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType in interface ComponentExportergetExportedType in interface ResponsiveColumnExporter@Nonnull public Resource getResource()
Resource associated with the column.@Nonnull public java.lang.String getPath()
Resource@Deprecated public java.lang.String getCssClass()
getColumnClassNames()@Deprecated public java.util.Set<java.lang.String> getMissingBreakpointNames()
getBreakpoints()@Deprecated public java.lang.Integer getColumnCount(java.lang.String breakpointName)
breakpointName - The name of the breakpoint@Nonnull @Deprecated public java.lang.String getResourceType()
ResourceResourceResolver is free to set this to any suitable value such
as the primary node type of the JCR node from which the resource is
created.
If the resource instance represents a resource which is not actually
existing, this method returns Resource.RESOURCE_TYPE_NON_EXISTING.
getResourceType in interface Resource@Deprecated public java.lang.String getResourceSuperType()
Resourcenull is returned.
A resource might return a resource super type to overwrite the
resource type hierarchy.
If a client is interested in the effective resource super type
of a resource, it should call ResourceResolver.getParentResourceType(Resource).getResourceSuperType in interface Resourcenull.@Nonnull @Deprecated public ResourceMetadata getResourceMetadata()
ResourceResourceMetadata object returned is implementation specific
except for the ResourceMetadata.RESOLUTION_PATH property which is
required to be set to the part of the request URI used to resolve the
resource.getResourceMetadata in interface ResourceResourceMetadata@Nonnull @Deprecated public ResourceResolver getResourceResolver()
ResourceResourceResolver from which this resource has been
retrieved.getResourceResolver in interface Resource@Deprecated public ValueMap getProperties()
Copyright © 2010 - 2023 Adobe. All Rights Reserved