|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.sf.mapswidgets.Size
public final class Size
Instances of this class represents a 2-dimensional size measurement.
If a Size represents a latitude/longitude span, width is the number of longitude degrees, and height is the number of latitude degrees.
Application code does not need to explicitly release the
resources managed by each instance when those instances are no longer
required, and thus no dispose()
method is provided.
See Google Maps API documentation [Class Reference > GSize].
Bounds
,
Point
Constructor Summary | |
---|---|
Size(double width,
double height)
|
Method Summary | |
---|---|
Size |
clone()
|
boolean |
equals(java.lang.Object tested)
|
double |
getHeight()
Get the height. |
double |
getWidth()
Get the width. |
int |
hashCode()
|
void |
setHeight(double height)
Set the height. |
void |
setWidth(double width)
Set the width. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Size(double width, double height)
Method Detail |
---|
public Size clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object tested)
equals
in class java.lang.Object
public double getHeight()
See Google Maps API documentation [Class Reference > GSize > height].
public double getWidth()
See Google Maps API documentation [Class Reference > GSize > width].
public int hashCode()
hashCode
in class java.lang.Object
public void setHeight(double height)
See Google Maps API documentation [Class Reference > GSize > height].
height
- the heightpublic void setWidth(double width)
See Google Maps API documentation [Class Reference > GSize > height].
width
- the widthpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |