From: Keith Packard Date: Tue, 10 Jun 2014 18:36:03 +0000 (-0700) Subject: telegps: Add statistics tab to graph UI X-Git-Tag: 1.4~78 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=ac33ca137551e32235cd2a0304da4b5e7af51a44;hp=73249dbf16382c91c2a220ff852a4f099fe0de3d telegps: Add statistics tab to graph UI Signed-off-by: Keith Packard --- diff --git a/telegps/TeleGPSGraphUI.java b/telegps/TeleGPSGraphUI.java index 84c80815..b7fc4caa 100644 --- a/telegps/TeleGPSGraphUI.java +++ b/telegps/TeleGPSGraphUI.java @@ -42,6 +42,7 @@ public class TeleGPSGraphUI extends AltosUIFrame AltosState state; AltosFlightStats stats; AltosGraphDataSet graphDataSet; + AltosFlightStatsTable statsTable; void fill_map(AltosStateIterable states) { for (AltosState state : states) { @@ -66,10 +67,13 @@ public class TeleGPSGraphUI extends AltosUIFrame stats = new AltosFlightStats(states); graphDataSet = new AltosGraphDataSet(states); graph = new AltosGraph(enable, stats, graphDataSet); + statsTable = new AltosFlightStatsTable(stats); + map = new AltosSiteMap(); pane.add("Flight Graph", graph.panel); pane.add("Configure Graph", enable); + pane.add("Statistics", statsTable); fill_map(states); pane.add("Map", map);