|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Image
Image object.
| Method Summary | |
|---|---|
java.lang.String |
getAbsoluteUrl()
Returns the absolute URL to the image file. |
java.lang.String |
getAlign()
Returns alignment. |
java.lang.String |
getAlternativeText()
Returns alt text for the HTML IMG tag. |
int |
getHeight()
Returns image height. |
java.lang.String |
getHtmlTag()
Deprecated. html tag is not xhtml strict compliant, create tag from presentation JSP. |
Image |
getSizedImage(int width,
int height)
Returns the image for a particular size. |
java.lang.String |
getUrl()
Returns the URL to the image file. |
Website |
getWebsite()
Returns website which owns the image. |
int |
getWidth()
Returns image width. |
boolean |
isExists()
Returns whether image exists. |
| Method Detail |
|---|
java.lang.String getUrl()
java.lang.String getAbsoluteUrl()
@Deprecated java.lang.String getHtmlTag()
int getWidth()
int getHeight()
java.lang.String getAlign()
Website getWebsite()
boolean isExists()
true if image exists, false otherwise.java.lang.String getAlternativeText()
Image getSizedImage(int width,
int height)
width - Resize the image to this width.height - Resize the image to this height.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||