|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUIObject
com.vaadin.client.ui.Icon
com.vaadin.client.ui.ImageIcon
public class ImageIcon
A image based implementation of Icon.
The image is loaded from the given URL ( setUri(String)) and
displayed in full.
| Field Summary | |
|---|---|
static java.lang.String |
CLASSNAME
|
| Constructor Summary | |
|---|---|
ImageIcon()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getUri()
Gets the current URI for this icon. |
void |
setAlternateText(java.lang.String alternateText)
Sets the alternate text for the icon. |
void |
setUri(java.lang.String imageUrl)
Sets the URI for the icon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSNAME
| Constructor Detail |
|---|
public ImageIcon()
| Method Detail |
|---|
public void setUri(java.lang.String imageUrl)
IconApplicationConnection.translateVaadinUri(String) before setting.
This might be a URL referencing a image (e.g ImageIcon) or a
custom URI (e.g FontIcon).
setUri in class IconimageUrl - the URI for this iconpublic void setAlternateText(java.lang.String alternateText)
Icon
setAlternateText in class IconalternateText - with the alternate text.public java.lang.String getUri()
Icon
getUri in class Icon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||