|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
net.sf.marineapi.provider.event.TPVEvent
public class TPVEvent
GPS time/position/velocity report with current position, altitude, speed,
course and a time stamp. Notice that altitude may be missing, depending on
the source sentence of position (only GGASentence contains altitude).
TPVProvider,
TPVListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
TPVEvent(Object source,
Position p,
double sog,
double cog,
Date d,
Time t,
GpsMode m,
GpsFixQuality fq)
Creates a new instance of TPVEvent. |
|
| Method Summary | |
|---|---|
TPVEvent |
clone()
|
Double |
getCourse()
Returns the current (true) course over ground. |
Date |
getDate()
Returns the date. |
GpsFixQuality |
getFixQuality()
Returns the current GPS fix quality. |
GpsMode |
getGpsMode()
Returns the current GPS operating mode. |
Position |
getPosition()
Returns the current position. |
Double |
getSpeed()
Returns the current speed over ground, in km/h. |
Time |
getTime()
Returns the time. |
String |
toString()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TPVEvent(Object source,
Position p,
double sog,
double cog,
Date d,
Time t,
GpsMode m,
GpsFixQuality fq)
source - Source object of event| Method Detail |
|---|
public TPVEvent clone()
clone in class Objectpublic Double getCourse()
public Date getDate()
public GpsFixQuality getFixQuality()
public GpsMode getGpsMode()
public Position getPosition()
public Double getSpeed()
public Time getTime()
public String toString()
toString in class EventObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||