Signed-off-by: Keith Packard <keithp@keithp.com>
AltosState state;
AltosFlightStats stats;
AltosGraphDataSet graphDataSet;
AltosState state;
AltosFlightStats stats;
AltosGraphDataSet graphDataSet;
+ AltosFlightStatsTable statsTable;
void fill_map(AltosStateIterable states) {
for (AltosState state : states) {
void fill_map(AltosStateIterable states) {
for (AltosState state : states) {
stats = new AltosFlightStats(states);
graphDataSet = new AltosGraphDataSet(states);
graph = new AltosGraph(enable, stats, graphDataSet);
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);
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);
fill_map(states);
pane.add("Map", map);