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

org::netbeans::lib::profiler::ui::components::table::EnhancedTableCellRenderer Class Reference

Inheritance diagram for org::netbeans::lib::profiler::ui::components::table::EnhancedTableCellRenderer:

org::netbeans::lib::profiler::ui::components::table::TableCellRendererPersistent org::netbeans::lib::profiler::ui::components::table::BooleanTableCellRenderer org::netbeans::lib::profiler::ui::components::table::ClassNameTableCellRenderer org::netbeans::lib::profiler::ui::components::table::CustomBarCellRenderer org::netbeans::lib::profiler::ui::components::table::HTMLLabelTableCellRenderer org::netbeans::lib::profiler::ui::components::table::LabelBracketTableCellRenderer org::netbeans::lib::profiler::ui::components::table::LabelTableCellRenderer org::netbeans::lib::profiler::ui::components::table::MethodNameTableCellRenderer org::netbeans::lib::profiler::ui::components::table::DiffBarCellRenderer org::netbeans::lib::profiler::ui::threads::ThreadNameCellRenderer

List of all members.


Detailed Description

An abstract superclass for table cell renderers to be used throughout the profiler. It implements alrenating background colors for odd and even rows, and simplifies the writing of concrete renderers by masking Swing's ugly CellRenderer API (by forcing "this" to be returned as the renderer).

Author:
Ian Formanek

Jiri Sedlacek

Definition at line 56 of file EnhancedTableCellRenderer.java.


Public Member Functions

 EnhancedTableCellRenderer ()
int getHorizontalAlignment ()
boolean getSupportsFocusBorder ()
final Component getTableCellRendererComponent (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
abstract Component getTableCellRendererComponentPersistent (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
void setBorder (Border border)
void setHorizontalAlignment (int horizontalAlignment)
void setSupportsFocusBorder (boolean supportsFocusBorder)

Static Public Member Functions

static Color getDarker (Color c)

Protected Member Functions

void setRowBackground (Color c)
void setRowForeground (Color c)
void setState (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
abstract void setValue (JTable table, Object value, int row, int column)

Protected Attributes

boolean supportsFocusBorder

Private Attributes

Color darkerUnselectedBackground
int horizontalAlignment
Border originalBorder
Insets originalBorderInsets
Color unselectedBackground
Color unselectedForeground

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index