Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::demo::dyncomp::MyCellEditor Class Reference

Collaboration diagram for alma::demo::dyncomp::MyCellEditor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MyCellEditor (JDynAct dynActDlg)
Component getTableCellEditorComponent (JTable table, Object value, boolean isSelected, int row, int column)
void stopEditing ()
Object getCellEditorValue ()

Package Attributes

JDynAct m_dynActDlg
JButton releaseBtn

Detailed Description

MyCellEditor is the cell editor that shows the button in the table

Author:
Alessandro Caproni, 2003, Nov 7


Constructor & Destructor Documentation

alma::demo::dyncomp::MyCellEditor::MyCellEditor JDynAct  dynActDlg  )  [inline]
 


Member Function Documentation

Object alma::demo::dyncomp::MyCellEditor::getCellEditorValue  )  [inline]
 

Return the value of the just edit cell

Returns:
Always null (we use the cell to show a button not to store a value)

Component alma::demo::dyncomp::MyCellEditor::getTableCellEditorComponent JTable  table,
Object  value,
boolean  isSelected,
int  row,
int  column
[inline]
 

Return the component to show when the user edit the second column of the table

Parameters:
table The table that has to be edit
value The actual value of the cell (not used)
isSelected 
row The row of the cell
column The column of the cell
Returns:
The button to release the component

void alma::demo::dyncomp::MyCellEditor::stopEditing  )  [inline]
 

Stops the editing so that the button is deleted


Member Data Documentation

JDynAct alma::demo::dyncomp::MyCellEditor::m_dynActDlg [package]
 

JButton alma::demo::dyncomp::MyCellEditor::releaseBtn [package]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:03:55 2009 for ACS Java API by doxygen 1.3.8