use of org.baderlab.csplugins.enrichmentmap.view.heatmap.table.ColorAndValueRenderer 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();
}
Aggregations