java: Refactor AltosFlightDisplay units and font update handling
authorKeith Packard <keithp@keithp.com>
Thu, 29 May 2014 21:03:58 +0000 (14:03 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 29 May 2014 21:03:58 +0000 (14:03 -0700)
commitf80075be4ebb9c5fe00c24b8c7638fad23267424
treea8badb211c002391b881109a9b7c0992e3099eaf
parent71715337eb532a1fbe1a753240e7417d5223489f
java: Refactor AltosFlightDisplay units and font update handling

Make AltosFlightDisplay explicitly implement AltosFontListener and
AltosUnitsListener interfaces to make everyone use the same API. Then,
actually go implement units listeners so that changing units updates
all of the active displays immediately

Signed-off-by: Keith Packard <keithp@keithp.com>
15 files changed:
altosui/AltosAscent.java
altosui/AltosCompanionInfo.java
altosui/AltosDescent.java
altosui/AltosFlightStatus.java
altosui/AltosFlightUI.java
altosui/AltosIdleMonitorUI.java
altosui/AltosIgnitor.java
altosui/AltosLanded.java
altosui/AltosPad.java
altosuilib/AltosFlightDisplay.java
altosuilib/AltosInfoTable.java
altosuilib/AltosSiteMap.java
telegps/TeleGPS.java
telegps/TeleGPSInfo.java
telegps/TeleGPSStatus.java