public class EnhancedImage extends Object
| Constructor and Description |
|---|
EnhancedImage(String imageUrl)
Build an enhanced image from a url.
|
EnhancedImage(String url,
String titleToShow,
String toolTipToShow)
Build an enhanced image from an image but allows to customize the title of the image and its tooltip.
|
EnhancedImage(String thumbnailUrl,
String titleToShow,
String toolTipToShow,
String downloadUrl)
Build an enhanced image from an image but allows to customize the other properties.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDownloadUrl() |
String |
getImageUrl() |
Orientation |
getOrientation() |
String |
getThumbnailUrl() |
String |
getTitleToShow() |
String |
getToolTipToShow() |
void |
setDownloadUrl(String downloadUrl) |
void |
setOrientation(Orientation orientation) |
void |
setThumbnailUrl(String thumbnailUrl) |
void |
setTitleToShow(String titleToShow) |
void |
setToolTipToShow(String toolTipToShow) |
String |
toString() |
public EnhancedImage(String imageUrl)
imageUrl - the url of the image.public EnhancedImage(String url, String titleToShow, String toolTipToShow)
image - titleToShow - toolTipToShow - public String getThumbnailUrl()
public void setThumbnailUrl(String thumbnailUrl)
public String getTitleToShow()
public void setTitleToShow(String titleToShow)
public String getToolTipToShow()
public void setToolTipToShow(String toolTipToShow)
public String getDownloadUrl()
public void setDownloadUrl(String downloadUrl)
public Orientation getOrientation()
public void setOrientation(Orientation orientation)
orientation - the orientation to setpublic String getImageUrl()
Copyright © 2018. All Rights Reserved.