elide reference to GPS since we don't have it
[fw/altos] / teststand / AltosGraphUI.java
index ed77bdefcd56bed01e9d0a4960692b18cee4d262..7f1a4c2baeef777a5f8a2dee583d721ea43939c8 100644 (file)
@@ -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);