|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phidgets.event.GPSPositionChangeEvent
This class represents the data for a GPSPositionChangeEvent.
Constructor Summary | |
GPSPositionChangeEvent(Phidget source,
double latitude,
double longitude,
double altitude)
Class constructor. |
Method Summary | |
double |
getAltitude()
Returns the altitude of the GPS, in meters. |
double |
getLatitude()
Returns the latitude of the GPS, in signed degrees format. |
double |
getLongitude()
Returns the longitude of the GPS, in signed degrees format |
Phidget |
getSource()
Returns the source Phidget of this event. |
java.lang.String |
toString()
Returns a string containing information about the event. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GPSPositionChangeEvent(Phidget source, double latitude, double longitude, double altitude)
source
- the Phidget object from which this event originatedMethod Detail |
public Phidget getSource()
public double getLatitude()
public double getLongitude()
public double getAltitude()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |