org.jurvis.swing.table
Class JvEachRowEditor
java.lang.Object
org.jurvis.swing.table.JvEachRowEditor
- All Implemented Interfaces:
- CellEditor, TableCellEditor
public class JvEachRowEditor
- extends Object
- implements TableCellEditor
each row TableCellEditor
- Version:
- 1.0 10/20/98
- Author:
- Nobuo Tamemasa
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editors
protected Hashtable editors
editor
protected TableCellEditor editor
defaultEditor
protected TableCellEditor defaultEditor
JvEachRowEditor
public JvEachRowEditor()
- Constructs a EachRowEditor.
create default editor
- See Also:
TableCellEditor,
DefaultCellEditor
add
public void add(int row,
TableCellEditor editor)
- Parameters:
row - table roweditor - table cell editor
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
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing in interface CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing in interface CellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable in interface CellEditor
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener in interface CellEditor
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener in interface CellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell in interface CellEditor
Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.