@ProviderType public class ResponsiveColumn extends AbstractResource implements ResponsiveColumnExporter
RESOURCE_TYPE_NON_EXISTING| Constructor and Description |
|---|
ResponsiveColumn(Resource resource,
Map<String,Breakpoint> gridBreakpoints,
String classNamePrefix) |
ResponsiveColumn(Resource resource,
Map<String,Breakpoint> gridBreakpoints,
String classNamePrefix,
SlingHttpServletRequest slingRequest,
ModelFactory modelFactory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Breakpoint> |
getBreakpoints() |
String |
getColumnClassNames() |
Integer |
getColumnCount(String breakpointName)
Deprecated.
|
String |
getCssClass()
Deprecated.
|
ComponentExporter |
getExportedComponent() |
String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
Set<String> |
getMissingBreakpointNames()
Deprecated.
Use
getBreakpoints() |
String |
getPath()
Returns the absolute path of this resource in the resource tree.
|
ValueMap |
getProperties()
Deprecated.
|
Resource |
getResource() |
ResourceMetadata |
getResourceMetadata()
Deprecated.
|
ResourceResolver |
getResourceResolver()
Deprecated.
|
String |
getResourceSuperType()
Deprecated.
|
String |
getResourceType()
Deprecated.
|
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenadaptTo, setAdapterManager, unsetAdapterManagerpublic ResponsiveColumn(Resource resource, Map<String,Breakpoint> gridBreakpoints, String classNamePrefix)
public ResponsiveColumn(Resource resource, Map<String,Breakpoint> gridBreakpoints, String classNamePrefix, SlingHttpServletRequest slingRequest, ModelFactory modelFactory)
public Map<String,Breakpoint> getBreakpoints()
getBreakpoints in interface ResponsiveColumnExporterBreakpoints associated with the column. The keys of the map are the breakpoint names.public String getColumnClassNames()
getColumnClassNames in interface ResponsiveColumnExporterpublic String getCssClass()
getColumnClassNames()public Set<String> getMissingBreakpointNames()
getBreakpoints()public Integer getColumnCount(String breakpointName)
breakpointName - The name of the breakpoint@Nonnull public ComponentExporter getExportedComponent()
getExportedComponent in interface ResponsiveColumnExporter@Nonnull public 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 String getPath()
Resource@Nonnull public 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 Resourcepublic 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 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 public ResourceResolver getResourceResolver()
ResourceResourceResolver from which this resource has been
retrieved.getResourceResolver in interface Resourcepublic ValueMap getProperties()
Copyright © 2010 - 2020 Adobe. All Rights Reserved