public class ImageMixin<T extends com.google.gwt.user.client.ui.UIObject & HasImage> extends Object implements HasImage
| Constructor and Description |
|---|
ImageMixin(T widget) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.resources.client.ImageResource |
getResource()
Gets the resource image.
|
String |
getUrl()
Gets the image url.
|
void |
setResource(com.google.gwt.resources.client.ImageResource resource)
Sets the resource image.
|
void |
setUiObject(T uiObject) |
void |
setUrl(String url)
Sets the url of an image.
|
public ImageMixin(T widget)
public void setUrl(String url)
HasImagepublic void setResource(com.google.gwt.resources.client.ImageResource resource)
HasImagesetResource in interface HasImagepublic com.google.gwt.resources.client.ImageResource getResource()
HasImagegetResource in interface HasImagepublic void setUiObject(T uiObject)
Copyright © 2018. All rights reserved.