public class LocationScreen extends uk.theretiredprogrammer.rpiembeddedlibrary.screen.Screen implements ScreenDataChangeProcessor
| Constructor and Description |
|---|
LocationScreen(uk.theretiredprogrammer.rpiembeddedlibrary.screen.SerialTFTDisplay display,
boolean displaycoordinates,
boolean displaydepth)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dataChanged(LocationData ld)
Location Data change handler.
|
protected void |
hasGainedFocus() |
public LocationScreen(uk.theretiredprogrammer.rpiembeddedlibrary.screen.SerialTFTDisplay display,
boolean displaycoordinates,
boolean displaydepth)
throws IOException
display - the display devicedisplaycoordinates - if true then display position as relative
coordinates, other display as latitude/longitudedisplaydepth - if true display depth otherwise display altitudeIOException - 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 data.IOException - if problemsCopyright © 2017. All rights reserved.