|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.ImgProperties
public class ImgProperties
A set of properties that can be used to create an image.
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
ImgProperties()
|
|
ImgProperties(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
ImgProperties(java.lang.String src,
int width,
int height)
|
|
| Method Summary | |
|---|---|
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. |
void |
setExtraStuff(java.lang.String extraStuff)
Specifies the additional attributes to write in the tag. |
void |
setHeight(java.lang.Integer height)
Specifies the height of the image. |
void |
setImgDir(java.lang.String imgDir)
Specifies the image-specific image directory to override the default. |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
|
void |
setName(java.lang.String name)
Specifies the name of the image. |
void |
setSrc(java.lang.String src)
Specifies the URL of the image local to the skin or application directory. |
void |
setWidth(java.lang.Integer width)
Specifies the width of the image. |
| Methods inherited from class com.smartgwt.client.core.JsObject |
|---|
isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImgProperties()
public ImgProperties(com.google.gwt.core.client.JavaScriptObject jsObj)
public ImgProperties(java.lang.String src,
int width,
int height)
| Method Detail |
|---|
public static ImgProperties getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setExtraStuff(java.lang.String extraStuff)
extraStuff - . See String. Default value is nullpublic java.lang.String getExtraStuff()
Stringpublic void setHeight(java.lang.Integer height)
height - height Default value is nullpublic java.lang.Integer getHeight()
public void setImgDir(java.lang.String imgDir)
imgDir - . See String. Default value is nullpublic java.lang.String getImgDir()
Stringpublic void setName(java.lang.String name)
Canvas.getImage and Canvas.setImage with this name will act on the image object created
using this ImgProperties object.
name - . See String. Default value is nullpublic java.lang.String getName()
Canvas.getImage and Canvas.setImage with this name will act on the image object created
using this ImgProperties object.
Stringpublic void setSrc(java.lang.String src)
src - . See String. Default value is nullpublic java.lang.String getSrc()
Stringpublic void setWidth(java.lang.Integer width)
width - width Default value is nullpublic java.lang.Integer getWidth()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||