Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
InspectorCellRenderer Class Reference
Inheritance diagram for InspectorCellRenderer:

Public Member Functions

Component getTableCellRendererComponent (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
 
void paint (Graphics g)
 
void flipSelection ()
 

Detailed Description

Renders a node for InspectorGadget.

Overrides some painting method for performance reasons.

Author
Nathan de Vries ndvri.nosp@m.es@s.nosp@m.quiz..nosp@m.net
See Also
InspectorGadget

Definition at line 45 of file InspectorCellRenderer.java.

Member Function Documentation

void flipSelection ( )
inline

Flips the selection so that the user can see the status color of all the assets

Definition at line 202 of file InspectorCellRenderer.java.

Component getTableCellRendererComponent ( JTable  table,
Object  value,
boolean  isSelected,
boolean  hasFocus,
int  row,
int  column 
)
inline

Sets the value of the current table cell to value.

Parameters
table- the JTable
value- the value to assign to the cell at [row, column]
isSelected- true if cell is selected
hasFocus- true if cell has focus
row- the row of the cell to render
column- the column of the cell to render
Returns
the Component that the renderer uses to draw the value.

Definition at line 70 of file InspectorCellRenderer.java.

void paint ( Graphics  g)
inline

Paints the background color that is determined by the selected state of the node, and the status of the asset

Parameters
gthe graphics

Definition at line 134 of file InspectorCellRenderer.java.


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