Package edu.brown.gui.stats

Examples of edu.brown.gui.stats.TableStatsPanel$MapFieldEditor


        // ----------------------------------------------

        //
        // TOP: Stats Viewers
        //
        TableStatsPanel firstPanel = null;
        for (String table_key : this.args.stats.table_stats.keySet()) {
            TableStatistics stats = this.args.stats.getTableStatistics(table_key);
            TableStatsPanel statsPanel = new TableStatsPanel(stats);
            this.tableStatsPanels.put(table_key, statsPanel);
            if (firstPanel == null) firstPanel = statsPanel;
        } // FOR
       
        //
View Full Code Here


    }
   
    private void updateTableStatsPanel(String table_key) {
        if (table_key == null || table_key.equals(last_table_key)) return;
        if (this.last_table_key != null) {
            TableStatsPanel old_panel = this.tableStatsPanels.get(this.last_table_key);
            old_panel.setEnabled(false);
            old_panel.setVisible(false);
        }
       
        TableStatsPanel new_panel = this.tableStatsPanels.get(table_key);
        new_panel.setEnabled(true);
        new_panel.setVisible(true);
        this.tableStatsWrapperPanel.add(new_panel, BorderLayout.CENTER);
        this.tableStatsWrapperPanel.revalidate();
        this.last_table_key = table_key;
    }
View Full Code Here

TOP

Related Classes of edu.brown.gui.stats.TableStatsPanel$MapFieldEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.