public class HeadingScreen extends uk.theretiredprogrammer.rpiembeddedlibrary.screen.Screen implements ScreenDataChangeProcessor
| Constructor and Description |
|---|
HeadingScreen(uk.theretiredprogrammer.rpiembeddedlibrary.screen.SerialTFTDisplay display,
boolean displayknots)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dataChanged(LocationData ld)
Location data change handler
|
protected void |
hasGainedFocus() |
public HeadingScreen(uk.theretiredprogrammer.rpiembeddedlibrary.screen.SerialTFTDisplay display,
boolean displayknots)
throws IOException
display - the display devicedisplayknots - true if speed to be displayed in knots otherwise
metres/secIOException - if problemsprotected void hasGainedFocus()
throws IOException
hasGainedFocus in class uk.theretiredprogrammer.rpiembeddedlibrary.screen.ScreenIOExceptionpublic void dataChanged(LocationData ld) throws IOException
dataChanged in interface ScreenDataChangeProcessorld - the updated location dataIOException - if problemsCopyright © 2017. All rights reserved.