| Package | Description |
|---|---|
| org.opencms.jsp |
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
|
| org.opencms.jsp.util |
Utility classes to be used for JSP pages.
|
| Modifier and Type | Method and Description |
|---|---|
CmsJspImageBean |
CmsJspResourceWrapper.getToImage()
Returns a scaled image bean from the wrapped value.
|
static CmsJspImageBean |
CmsJspTagScaleImage.imageTagAction(CmsObject cms,
java.lang.String imageUri,
CmsImageScaler targetScaler,
java.util.List<java.lang.String> hiDpiVariantList)
Internal action method to create the scaled image bean.
|
| Modifier and Type | Method and Description |
|---|---|
CmsJspImageBean |
CmsJspImageBean.createHiDpiVariation(java.lang.String hiDpiStr)
Creates a hi-DPI scaled version of the current image.
|
CmsJspImageBean |
CmsJspImageBean.createRatioVariation(java.lang.String ratioStr)
Creates a ratio scaled version of the current image.
|
protected CmsJspImageBean |
CmsJspImageBean.createVariation(CmsImageScaler targetScaler)
Returns a variation of the current image scaled with the given scaler.
|
CmsJspImageBean |
CmsJspImageBean.createWidthVariation(java.lang.String widthStr)
Creates a width scaled version of the current image.
|
protected CmsJspImageBean |
CmsJspImageBean.getSelf()
Returns this instance bean, required for the transformers.
|
CmsJspImageBean |
CmsJspImageBean.getSrcSetMaxImage()
Returns the largest image from the generated source set.
|
CmsJspImageBean |
CmsJspImageBean.getSrcSets()
Getter for
setSrcSets(CmsJspImageBean) which returns this image bean. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,CmsJspImageBean> |
CmsJspImageBean.getHiDpiImages()
Deprecated.
use
getScaleHiDpi() instead |
java.util.Map<java.lang.String,CmsJspImageBean> |
CmsJspImageBean.getScaleHiDpi()
Returns a lazy initialized Map that provides access to hi-DPI scaled instances of this image bean.
|
java.util.Map<java.lang.String,CmsJspImageBean> |
CmsJspImageBean.getScaleRatio()
Returns a lazy initialized Map that provides access to ratio scaled instances of this image bean.
|
java.util.Map<java.lang.String,CmsJspImageBean> |
CmsJspImageBean.getScaleWidth()
Returns a lazy initialized Map that provides access to width scaled instances of this image bean.
|
java.util.Map<java.lang.Integer,CmsJspImageBean> |
CmsJspImageBean.getSrcSetMap()
Returns the source set map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsJspImageBean.addHiDpiImage(java.lang.String factor,
CmsJspImageBean image)
adds a CmsJspImageBean as hi-DPI variant to this image
|
void |
CmsJspImageBean.setSrcSets(CmsJspImageBean imageBean)
Adds another image bean instance to the source set map of this bean.
|