X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=teststand%2FAltosGraphUI.java;h=7f1a4c2baeef777a5f8a2dee583d721ea43939c8;hb=932d36e04b76231d22f14ca5dc1d1bbfa1a3f0b7;hp=ed77bdefcd56bed01e9d0a4960692b18cee4d262;hpb=35a279e49ff1bd9a340e5b485521518ccf0bf8b7;p=fw%2Faltos diff --git a/teststand/AltosGraphUI.java b/teststand/AltosGraphUI.java index ed77bdef..7f1a4c2b 100644 --- a/teststand/AltosGraphUI.java +++ b/teststand/AltosGraphUI.java @@ -36,10 +36,8 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt JTabbedPane pane; TestStandGraph graph; AltosUIEnable enable; - AltosFlightStats stats; - AltosFlightStatsTable statsTable; - AltosGPS gps; - boolean has_gps; + TestStats stats; + TestStatsTable statsTable; public void font_size_changed(int font_size) { if (statsTable != null) @@ -56,7 +54,7 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt public void filter_changed(double speed_filter, double accel_filter) { flight_series.set_filter(speed_filter, accel_filter); graph.filter_changed(); - stats = new AltosFlightStats(flight_series); + stats = new TestStats(flight_series); statsTable.filter_changed(stats); } @@ -83,18 +81,16 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt flight_series.finish(); - stats = new AltosFlightStats(flight_series); + stats = new TestStats(flight_series); graph = new TestStandGraph(enable, stats, flight_series); - statsTable = new AltosFlightStatsTable(stats); + statsTable = new TestStatsTable(stats); pane.add("Test Graph", graph.panel); pane.add("Configure Graph", enable); pane.add("Test Statistics", statsTable); - has_gps = false; - setContentPane (pane); AltosUIPreferences.register_font_listener(this);