ALMA Computing Group
Public Member Functions

alma::demo::dyncomp::MyCellRendererr Class Reference

The class used to show the button inside the table. More...

Inheritance diagram for alma::demo::dyncomp::MyCellRendererr:
Inheritance graph
[legend]
Collaboration diagram for alma::demo::dyncomp::MyCellRendererr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyCellRendererr ()
 The constructor.
Component 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.

Detailed Description

The class used to show the button inside the table.

Author:
Alessandro Caproni, 2003, Nov 7

Definition at line 32 of file MyCellRenderer.java.


Constructor & Destructor Documentation

alma::demo::dyncomp::MyCellRendererr::MyCellRendererr (  )  [inline]

The constructor.

Definition at line 36 of file MyCellRenderer.java.


Member Function Documentation

Component alma::demo::dyncomp::MyCellRendererr::getTableCellRendererComponent ( JTable  table,
Object  value,
boolean  isSelected,
boolean  hasFocus,
int  row,
int  column 
) [inline]

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

Definition at line 50 of file MyCellRenderer.java.


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