public class ImgProperties extends ImgHTMLProperties
factoryCreated, factoryProperties
Constructor and Description |
---|
ImgProperties() |
ImgProperties(com.google.gwt.core.client.JavaScriptObject jsObj) |
ImgProperties(java.lang.String src,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventStuff()
Specifies the additional event-related attributes to write in the tag.
|
java.lang.String |
getExtraStuff()
Specifies the additional attributes to write in the tag.
|
java.lang.Integer |
getHeight()
Specifies the height of the image.
|
java.lang.String |
getImgDir()
Specifies the image-specific image directory to override the default.
|
java.lang.String |
getName()
Specifies the name of the image.
|
static ImgProperties |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getSrc()
Specifies the URL of the image local to the skin or application directory.
|
java.lang.Integer |
getWidth()
Specifies the width of the image.
|
ImgProperties |
setEventStuff(java.lang.String eventStuff)
Specifies the additional event-related attributes to write in the tag.
|
ImgProperties |
setExtraStuff(java.lang.String extraStuff)
Specifies the additional attributes to write in the tag.
|
ImgProperties |
setHeight(java.lang.Integer height)
Specifies the height of the image.
|
ImgProperties |
setImgDir(java.lang.String imgDir)
Specifies the image-specific image directory to override the default.
|
ImgProperties |
setName(java.lang.String name)
Specifies the name of the image.
|
ImgProperties |
setSrc(java.lang.String src)
Specifies the URL of the image local to the skin or application directory.
|
ImgProperties |
setWidth(java.lang.Integer width)
Specifies the width of the image.
|
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public ImgProperties()
public ImgProperties(com.google.gwt.core.client.JavaScriptObject jsObj)
public ImgProperties(java.lang.String src, int width, int height)
public static ImgProperties getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public ImgProperties setEventStuff(java.lang.String eventStuff)
setEventStuff
in class ImgHTMLProperties
eventStuff
- New eventStuff value. Default value is nullImgProperties
instance, for chaining setter callssetExtraStuff(java.lang.String)
public java.lang.String getEventStuff()
getEventStuff
in class ImgHTMLProperties
getExtraStuff()
public ImgProperties setExtraStuff(java.lang.String extraStuff)
eventStuff
instead to guarantee proper behavior when using SVG
via regular .svg image files.setExtraStuff
in class ImgHTMLProperties
extraStuff
- New extraStuff value. Default value is nullImgProperties
instance, for chaining setter callspublic java.lang.String getExtraStuff()
eventStuff
instead to guarantee proper behavior when using SVG
via regular .svg image files.getExtraStuff
in class ImgHTMLProperties
public ImgProperties setHeight(java.lang.Integer height)
setHeight
in class ImgHTMLProperties
height
- New height value. Default value is nullImgProperties
instance, for chaining setter callspublic java.lang.Integer getHeight()
getHeight
in class ImgHTMLProperties
public ImgProperties setImgDir(java.lang.String imgDir)
setImgDir
in class ImgHTMLProperties
imgDir
- New imgDir value. Default value is nullImgProperties
instance, for chaining setter callsURL
public java.lang.String getImgDir()
getImgDir
in class ImgHTMLProperties
URL
public ImgProperties setName(java.lang.String name)
Canvas.getImage()
and Canvas.setImage()
with this name will act on the image object
created using this ImgProperties
object.setName
in class ImgHTMLProperties
name
- New name value. Default value is nullImgProperties
instance, for chaining setter callspublic java.lang.String getName()
Canvas.getImage()
and Canvas.setImage()
with this name will act on the image object
created using this ImgProperties
object.getName
in class ImgHTMLProperties
public ImgProperties setSrc(java.lang.String src)
setSrc
in class ImgHTMLProperties
src
- New src value. Default value is nullImgProperties
instance, for chaining setter callsURL
public java.lang.String getSrc()
getSrc
in class ImgHTMLProperties
URL
public ImgProperties setWidth(java.lang.Integer width)
setWidth
in class ImgHTMLProperties
width
- New width value. Default value is nullImgProperties
instance, for chaining setter callspublic java.lang.Integer getWidth()
getWidth
in class ImgHTMLProperties