Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

void org::netbeans::lib::profiler::ui::components::table::LabelBracketTableCellRenderer::setRowForeground ( Color  c  )  [inline, protected]

Called each time this renderer is to be used to render a specific row, with the color to be used for painting foreground of this row (based on table's getSelectionForeground). The default implementation sets the foreground of the panel to this color. Subclasses should override this to meaningfully change the rendering when the selection changes.

c the color to be used for row foreground

Reimplemented from org::netbeans::lib::profiler::ui::components::table::EnhancedTableCellRenderer.

Definition at line 115 of file LabelBracketTableCellRenderer.java.

        label2.setForeground(c.equals(Color.BLACK) ? Color.GRAY : c.brighter());

Generated by  Doxygen 1.6.0   Back to index