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, listChildren
adaptTo, setAdapterManager, unsetAdapterManager
public 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 ResponsiveColumnExporter
Breakpoint
s associated with the column. The keys of the map are the breakpoint names.public java.lang.String getColumnClassNames()
getColumnClassNames
in interface ResponsiveColumnExporter
public java.lang.String getCssClass()
getColumnClassNames()
public java.util.Set<java.lang.String> getMissingBreakpointNames()
getBreakpoints()
public java.lang.Integer getColumnCount(java.lang.String breakpointName)
breakpointName
- The name of the breakpointpublic ComponentExporter getExportedComponent()
getExportedComponent
in interface ResponsiveColumnExporter
public java.lang.String getExportedType()
ResponsiveColumnExporter
Returns 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 ComponentExporter
getExportedType
in interface ResponsiveColumnExporter
public java.lang.String getPath()
Resource
public java.lang.String getResourceType()
Resource
ResourceResolver
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
public java.lang.String getResourceSuperType()
Resource
null
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 Resource
null
.public ResourceMetadata getResourceMetadata()
Resource
ResourceMetadata
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 Resource
ResourceMetadata
public ResourceResolver getResourceResolver()
Resource
ResourceResolver
from which this resource has been
retrieved.getResourceResolver
in interface Resource
public ValueMap getProperties()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"