|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j2ee.blueprints.ui.mapviewer.MapPoint
Non-visual component that represents an individual geographic point, specified by latitude and longitude properties (measured in degrees).
Constructor Summary | |
MapPoint()
Construct an unconfigured MapPoint instance. |
|
MapPoint(double latitude,
double longitude)
Construct a MapPoint instance for the specified geographical coordinates. |
Method Summary | |
double |
getLatitude()
Return the geographic latitude of this point. |
double |
getLongitude()
Return the geographic longitude of this point. |
void |
setLatitude(double latitude)
Set the geographic latitude of this point. |
void |
setLongitude(double longitude)
Set the geographic longitude of this point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapPoint()
Construct an unconfigured MapPoint instance.
public MapPoint(double latitude, double longitude)
Construct a MapPoint instance for the specified geographical coordinates.
latitude
- Latitude (in degrees) for this pointlongitude
- Longitude (in degrees) for this pointMethod Detail |
public double getLatitude()
Return the geographic latitude of this point.
public void setLatitude(double latitude)
Set the geographic latitude of this point.
latitude
- The new latitudepublic double getLongitude()
Return the geographic longitude of this point.
public void setLongitude(double longitude)
Set the geographic longitude of this point.
longitude
- The new latitude
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |