Public Member Functions

alma.acs.logging.table.renderer.InfoRenderer Class Reference

Inherits javax::swing::table::TableCellRenderer.

List of all members.

Public Member Functions

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

Detailed Description

Renders a button used to expand/collapse groups. Creation date: (12/4/2001 12:12:52)

Author:
: Ales Pucelj (ales.pucelj@kgb.ijs.si)

Constructor & Destructor Documentation

alma.acs.logging.table.renderer.InfoRenderer.InfoRenderer (  ) 

ExpandButtonRenderer constructor comment.


Member Function Documentation

Component alma.acs.logging.table.renderer.InfoRenderer.getTableCellRendererComponent ( JTable  table,
Object  value,
boolean  isSelected,
boolean  hasFocus,
int  row,
int  column 
)

This method is sent to the renderer by the drawing table to configure the renderer appropriately before drawing. Return the Component used for drawing.

Parameters:
table the JTable that is asking the renderer to draw. This parameter can be null.
value the value of the cell to be rendered. It is up to the specific renderer to interpret and draw the value. eg. if value is the String "true", it could be rendered as a string or it could be rendered as a check box that is checked. null is a valid value.
isSelected true is the cell is to be renderer with selection highlighting
row the row index of the cell being drawn. When drawing the header the rowIndex is -1.
column the column index of the cell being drawn

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties