public class StretchItem extends DataClass
StretchImg
. Each
item of a StretchImg's items
array is a StretchItem.Constructor and Description |
---|
StretchItem() |
StretchItem(com.google.gwt.core.client.JavaScriptObject jsObj) |
StretchItem(java.lang.String name,
int width,
int height) |
StretchItem(java.lang.String name,
int width,
java.lang.String height) |
StretchItem(java.lang.String name,
java.lang.String width,
int height) |
StretchItem(java.lang.String name,
java.lang.String width,
java.lang.String height) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getHeight()
The height of the image.
|
java.lang.String |
getName()
|
static StretchItem |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getSrc()
The URL of the media file for this StretchItem.
|
java.lang.Object |
getWidth()
The width of the image.
|
void |
setHeight(java.lang.Integer height)
The height of the image.
|
void |
setHeight(java.lang.String height)
The height of the image.
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setName(java.lang.String name)
|
void |
setSrc(java.lang.String src)
The URL of the media file for this StretchItem.
|
void |
setWidth(java.lang.Integer width)
The width of the image.
|
void |
setWidth(java.lang.String width)
The width of the image.
|
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, 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
public StretchItem()
public StretchItem(com.google.gwt.core.client.JavaScriptObject jsObj)
public StretchItem(java.lang.String name, int width, int height)
public StretchItem(java.lang.String name, int width, java.lang.String height)
public StretchItem(java.lang.String name, java.lang.String width, int height)
public StretchItem(java.lang.String name, java.lang.String width, java.lang.String height)
public static StretchItem getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setHeight(java.lang.Integer height)
capSize
. NOTE: The
height is only used if the StretchImg stacks its images vertically (vertical
is true).
height
- height Default value is nullpublic void setHeight(java.lang.String height)
capSize
. NOTE: The
height is only used if the StretchImg stacks its images vertically (vertical
is true).
height
- . See String
. Default value is nullpublic void setName(java.lang.String name)
src
URL
in order to fetch the media file for this StretchItem, if a separate src
is not provided. Note that the special name "blank", possibly
suffixed by one or more digits which are used to differentiate blank items, means no image will be shown for this
StretchItem. For example, for a StretchImg in "Over" state with a src
of "button.png" and a name of "stretch", the resulting URL would be
"button_Over_stretch.png".
name
- . See String
. Default value is nullpublic java.lang.String getName()
src
URL
in order to fetch the media file for this StretchItem, if a separate src
is not provided. Note that the special name "blank", possibly
suffixed by one or more digits which are used to differentiate blank items, means no image will be shown for this
StretchItem. For example, for a StretchImg in "Over" state with a src
of "button.png" and a name of "stretch", the resulting URL would be
"button_Over_stretch.png".
String
public void setSrc(java.lang.String src)
src
- . See SCImgURL
. Default value is nullpublic java.lang.String getSrc()
SCImgURL
public void setWidth(java.lang.Integer width)
capSize
. NOTE: The
width is only used if the StretchImg stacks its images horizontally (vertical
is false).
width
- width Default value is nullpublic void setWidth(java.lang.String width)
capSize
. NOTE: The
width is only used if the StretchImg stacks its images horizontally (vertical
is false).
width
- . See String
. Default value is nullpublic java.lang.Object getWidth()
capSize
. NOTE: The
width is only used if the StretchImg stacks its images horizontally (vertical
is false).
public java.lang.Object getHeight()
capSize
. NOTE: The
height is only used if the StretchImg stacks its images vertically (vertical
is true).