|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.wms.client.ResourceURL
com.esri.wms.client.ImageURL
public class ImageURL
A URL with optional width and height, e.g. Legend URL.
Field Summary | |
---|---|
protected Integer |
height
The image height in pixels. |
protected Integer |
width
The image width in pixels. |
Fields inherited from class com.esri.wms.client.ResourceURL |
---|
typeMIME, URL |
Constructor Summary | |
---|---|
protected |
ImageURL()
Instantiates an empty object of ImageURL. |
|
ImageURL(String format,
String url,
Integer width,
Integer height)
Instantiates an object of ImageURL. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares the specified object with this instance for equality. |
Integer |
getHeight()
Gets the height of the ImageURL. |
Integer |
getWidth()
Gets the width of the ImageURL. |
int |
hashCode()
Returns the hash code of the request object. |
Methods inherited from class com.esri.wms.client.ResourceURL |
---|
getAsStream, getMIMEType, getURL |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Integer width
protected Integer height
Constructor Detail |
---|
public ImageURL(String format, String url, Integer width, Integer height)
format
- the image format. The acceptable values are specified in WMS spec.url
- the URL of the image.width
- the width in pixels, and can be null.height
- the height in pixels, and can be null.protected ImageURL()
Method Detail |
---|
public Integer getHeight()
public Integer getWidth()
public int hashCode()
hashCode
in class ResourceURL
public boolean equals(Object obj)
equals
in class ResourceURL
obj
- object to be compared for equality with this instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |