|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjp.sf.mapswidgets.Point
public final class Point
Instances of this class represent a single, 2-dimensional coordinate.
If a Point represents a latitude/longitude, then x is the longitude and y is the latitude, in decimal notation.
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 > GPoint].
Bounds,
Size| Constructor Summary | |
|---|---|
Point(double x,
double y)
Construct a new instance of this class given the x and y values. |
|
| Method Summary | |
|---|---|
Point |
clone()
|
boolean |
equals(java.lang.Object tested)
|
double |
getX()
Get the x coordinate. |
double |
getY()
Get the y coordinate. |
int |
hashCode()
|
void |
setX(double x)
Set the x coordinate. |
void |
setY(double y)
Set the y coordinate. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Point(double x,
double y)
x - the x coordinatey - the y coordinate| Method Detail |
|---|
public Point clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object tested)
equals in class java.lang.Objectpublic double getX()
See Google Maps API documentation [Class Reference > GPoint > x].
public double getY()
See Google Maps API documentation [Class Reference > GPoint > y].
public int hashCode()
hashCode in class java.lang.Objectpublic void setX(double x)
See Google Maps API documentation [Class Reference > GPoint > x].
x - the x coordinatepublic void setY(double y)
See Google Maps API documentation [Class Reference > GPoint > y].
y - the y coordinatepublic 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 | |||||||