public class ResponsiveColumn extends AbstractResource
RESOURCE_TYPE_NON_EXISTING| Constructor and Description |
|---|
ResponsiveColumn(Resource res,
Map<String,Breakpoint> gridBreakpoints,
String cssClassPrefix) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getColumnCount(String breakpointName)
Returns the number of columns for the given breakpoint name
|
String |
getCssClass()
Returns the class names for the current column
|
String |
getPath()
Returns the absolute path of this resource in the resource tree.
|
ValueMap |
getProperties()
Returns the resource properties of the current column
|
Resource |
getResource()
Returns the
Resource associated with the current column |
ResourceMetadata |
getResourceMetadata()
Returns the meta data of this resource.
|
ResourceResolver |
getResourceResolver()
Returns the
ResourceResolver from which this resource has been
retrieved. |
String |
getResourceSuperType()
Returns the super type of the resource if the resource defines its
own super type.
|
String |
getResourceType()
The resource type is meant to point to rendering/processing scripts,
editing dialogs, etc.
|
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenadaptTo, setAdapterManager, unsetAdapterManagerpublic ResponsiveColumn(Resource res, Map<String,Breakpoint> gridBreakpoints, String cssClassPrefix)
public Resource getResource()
Resource associated with the current columnpublic String getPath()
Resourcepublic 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.
public 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).null.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.ResourceMetadatapublic ResourceResolver getResourceResolver()
ResourceResourceResolver from which this resource has been
retrieved.public Integer getColumnCount(String breakpointName)
breakpointName - - Name of the breakpointpublic String getCssClass()
public ValueMap getProperties()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"