de.kleopatra.view.table
Class FixedGenericCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
de.kleopatra.view.table.FixedGenericCellEditor
- All Implemented Interfaces:
- javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor
- public class FixedGenericCellEditor
- extends javax.swing.DefaultCellEditor
Fixed JTable.GenericCellEditor.
Changes
tries to base the type of the created object on the type of the given value first
instead of on the type as returned by table.getColumnClass as the original does.
the latter is doing nonsense if the columnClass is an interface
- Version:
- $Revision: 1.1.1.1 $ - $Date: 2003/10/14 11:13:47 $
- Author:
- (C) Jeanette Winzenburg, Berlin
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.DefaultCellEditor |
javax.swing.DefaultCellEditor.EditorDelegate |
Fields inherited from class javax.swing.DefaultCellEditor |
clickCountToStart, delegate, editorComponent |
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Methods inherited from class javax.swing.DefaultCellEditor |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, setClickCountToStart, shouldSelectCell |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, removeCellEditorListener |
FixedGenericCellEditor
public FixedGenericCellEditor()
isCellEditable
public boolean isCellEditable(java.util.EventObject e)
stopCellEditing
public boolean stopCellEditing()
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getCellEditorValue
public java.lang.Object getCellEditorValue()
Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.