org.sape.carbon.services.console
Class ConfigurationDataEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--org.sape.carbon.services.console.ConfigurationDataEditor
- All Implemented Interfaces:
- CellEditor, Serializable, TableCellEditor
- class ConfigurationDataEditor
- extends AbstractCellEditor
- implements TableCellEditor
This Cell Editor is what manages to provide a different editing look
for diffferent rows in the same table column. Since the Table API
in swing is designed to have only a single TableCellEditor per Column,
the data column uses this as a delegating CellEditor. It detects the
type of data a acts as a facade to the correct cell editor implementation
below. It utilizes the standard DefaultCellEditor for combo boxes,
check boxes and text fields.
- Since:
- carbon 1.0
- Version:
- $Revision: 1.3 $($Author: ghinkl $ / $Date: 2003/04/04 01:11:49 $)
- Author:
- Greg Hinkle, April 2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editor
private TableCellEditor editor
ConfigurationDataEditor
ConfigurationDataEditor()
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface TableCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.