public class HeadingEvent extends ProviderEvent
HeadingProvider,
Serialized Formsource| Constructor and Description |
|---|
HeadingEvent(Object source,
HeadingSentence s) |
| Modifier and Type | Method and Description |
|---|---|
double |
getHeading()
Returns the current heading.
|
boolean |
isTrue()
Tells if the heading is relative to true or magnetic north.
|
String |
toString() |
getSourcepublic HeadingEvent(Object source, HeadingSentence s)
source - public double getHeading()
public boolean isTrue()
public String toString()
toString in class EventObjectCopyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.