public class EnhancedImage extends Object
Constructor and Description |
---|
EnhancedImage(com.github.gwtbootstrap.client.ui.Image image)
Build an enhanced image from another image.
|
EnhancedImage(com.github.gwtbootstrap.client.ui.Image image,
String titleToShow,
String toolTipToShow)
Build an enhanced image from an image but allows to customize the title of the image and its tooltip.
|
EnhancedImage(com.github.gwtbootstrap.client.ui.Image image,
String titleToShow,
String toolTipToShow,
String downloadUrl)
Build an enhanced image from an image but allows to customize the other properties.
|
EnhancedImage(String imageUrl)
Build an enhanced image from a url.
|
Modifier and Type | Method and Description |
---|---|
String |
getDownloadUrl() |
com.github.gwtbootstrap.client.ui.Image |
getImage() |
String |
getImageUrl() |
String |
getTitleToShow() |
String |
getToolTipToShow() |
void |
setDownloadUrl(String downloadUrl) |
void |
setImage(com.github.gwtbootstrap.client.ui.Image image) |
void |
setTitleToShow(String titleToShow) |
void |
setToolTipToShow(String toolTipToShow) |
String |
toString() |
public EnhancedImage(String imageUrl)
imageUrl
- the url of the image.public EnhancedImage(com.github.gwtbootstrap.client.ui.Image image)
image
- the image to showpublic EnhancedImage(com.github.gwtbootstrap.client.ui.Image image, String titleToShow, String toolTipToShow)
image
- titleToShow
- toolTipToShow
- public com.github.gwtbootstrap.client.ui.Image getImage()
public void setImage(com.github.gwtbootstrap.client.ui.Image image)
public String getTitleToShow()
public void setTitleToShow(String titleToShow)
public String getToolTipToShow()
public void setToolTipToShow(String toolTipToShow)
public String getImageUrl()
public String getDownloadUrl()
public void setDownloadUrl(String downloadUrl)
Copyright © 2016. All Rights Reserved.