info.magnolia.module.templatingkit.templates.components
Class ImageModel<RD extends info.magnolia.rendering.template.TemplateDefinition>
java.lang.Object
info.magnolia.rendering.model.RenderingModelImpl<RD>
info.magnolia.module.templatingkit.templates.AbstractSTKTemplateModel<info.magnolia.rendering.template.TemplateDefinition>
info.magnolia.module.templatingkit.templates.components.ImageModel<RD>
- Type Parameters:
RD
-
- All Implemented Interfaces:
- STKRenderingModel<info.magnolia.rendering.template.TemplateDefinition>, info.magnolia.rendering.model.RenderingModel<info.magnolia.rendering.template.TemplateDefinition>
- Direct Known Subclasses:
- AbstractTeaserModel, FooterImageModel, TextImageModel
public class ImageModel<RD extends info.magnolia.rendering.template.TemplateDefinition>
- extends AbstractSTKTemplateModel<info.magnolia.rendering.template.TemplateDefinition>
Image STK Model Rendable definition.
- Version:
- $Id$
- Author:
- cringele
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl |
content, contentMap, definition, parentModel |
Fields inherited from interface info.magnolia.rendering.model.RenderingModel |
SKIP_RENDERING |
Constructor Summary |
ImageModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
STKTemplatingFunctions stkFunctions,
CssSelectorBuilder cssSelectorBuilder,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
|
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl |
execute, getContent, getDef, getDefinition, getNode, getParent, getRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.rendering.model.RenderingModel |
execute, getContent, getDefinition, getNode, getParent, getRoot |
ImageModel
@Inject
public ImageModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
STKTemplatingFunctions stkFunctions,
CssSelectorBuilder cssSelectorBuilder,
info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
getImage
public Asset getImage()
getImageVariationName
public String getImageVariationName()
getImageClass
protected String getImageClass()
getImageName
protected String getImageName()
getImageLink
@Deprecated
public String getImageLink()
throws DAMException
- Deprecated.
- Throws:
DAMException
hasImageMedadata
@Deprecated
public boolean hasImageMedadata()
throws javax.jcr.RepositoryException
- Deprecated.
- Throws:
javax.jcr.RepositoryException
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.