Public Member Functions

alma.demo.dyncomp.MyCellRendererr Class Reference

Inherits javax::swing::JButton, and javax::swing::table::TableCellRenderer.

List of all members.

Public Member Functions

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

Detailed Description

The class used to show the button inside the table

Author:
Alessandro Caproni, 2003, Nov 7

Constructor & Destructor Documentation

alma.demo.dyncomp.MyCellRendererr.MyCellRendererr (  ) 

The constructor


Member Function Documentation

Component alma.demo.dyncomp.MyCellRendererr.getTableCellRendererComponent ( JTable  table,
Object  value,
boolean  isSelected,
boolean  hasFocus,
int  row,
int  column 
)

Return the button to show into the cell when the user is not editing the cell

Parameters:
table The JTable that own the cell
value The value of the cell
True if the cell is selected
hasFocus True if the cell has the focus
row The row of the cell
column The column of the cell
Returns:
The button to show into the cell

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