public class CmsJspImageBean extends java.lang.Object
Constructor and Description |
---|
CmsJspImageBean() |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the image's height
|
CmsImageScaler |
getScaler()
Returns the image scaler that was used to create this image.
|
java.lang.String |
getSrcUrl()
Returns the image URL that may be used in img or picture tags
|
int |
getWidth()
Returns the image's width
|
void |
setHeight(int height)
Sets the image's height
|
void |
setScaler(CmsImageScaler scaler)
Sets the image scaler that was used to create this image.
|
void |
setSrcUrl(java.lang.String srcUrl)
Sets the image URL
|
void |
setWidth(int width)
Sets the image's width
|
public CmsJspImageBean()
public int getHeight()
public CmsImageScaler getScaler()
public java.lang.String getSrcUrl()
public int getWidth()
public void setHeight(int height)
height
- the image's width in pixelspublic void setScaler(CmsImageScaler scaler)
scaler
- the image scaler that was used to create this image.public void setSrcUrl(java.lang.String srcUrl)
srcUrl
- the image URLpublic void setWidth(int width)
width
- the image's width in pixels