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() |
getSource
public HeadingEvent(Object source, HeadingSentence s)
source
- public double getHeading()
public boolean isTrue()
public String toString()
toString
in class EventObject
Copyright (C) 2010-2015 Java Marine API authors. All Rights Reserved.