Search in sources :

Example 1 with RankValueRenderer

use of org.baderlab.csplugins.enrichmentmap.view.heatmap.table.RankValueRenderer in project EnrichmentMapApp by BaderLab.

the class HeatMapMainPanel method updateSetting_ShowValues.

private void updateSetting_ShowValues(boolean showValues) {
    table.setDefaultRenderer(Double.class, showValues ? new ColorAndValueRenderer() : new ColorRenderer());
    table.setDefaultRenderer(RankValue.class, new RankValueRenderer());
    clearTableHeader();
    createTableHeader(showValues ? COLUMN_WIDTH_VALUE : COLUMN_WIDTH_COLOR);
    table.revalidate();
    settingChanged();
}
Also used : ColorAndValueRenderer(org.baderlab.csplugins.enrichmentmap.view.heatmap.table.ColorAndValueRenderer) RankValueRenderer(org.baderlab.csplugins.enrichmentmap.view.heatmap.table.RankValueRenderer) ColorRenderer(org.baderlab.csplugins.enrichmentmap.view.heatmap.table.ColorRenderer)

Aggregations

ColorAndValueRenderer (org.baderlab.csplugins.enrichmentmap.view.heatmap.table.ColorAndValueRenderer)1 ColorRenderer (org.baderlab.csplugins.enrichmentmap.view.heatmap.table.ColorRenderer)1 RankValueRenderer (org.baderlab.csplugins.enrichmentmap.view.heatmap.table.RankValueRenderer)1