Example usage for Java com.google.gwt.dom.client ImageElement fields, constructors, methods, implement or subclass
The text is from its open source code.
String | TAG |
ImageElement | as(Element elem) Assert that the given Element is compatible with this class and automatically typecast it. |
String | getAlt() Alternate text for user agents not rendering the normal content of this element. |
int | getHeight() Height of the image in pixels. |
String | getSrc() URI designating the source of this image. |
int | getWidth() The width of the image in pixels. |
boolean | is(Element elem) Determine whether the given Element can be cast to this class. |
boolean | is(JavaScriptObject o) Determines whether the given JavaScriptObject can be cast to this class. |
boolean | is(Node node) Determine whether the given Node can be cast to this class. |
void | setAlt(String alt) Alternate text for user agents not rendering the normal content of this element. |
void | setHeight(int height) Height of the image in pixels. |
void | setSrc(String src) URI designating the source of this image. |
void | setWidth(int width) The width of the image in pixels. |