eu.keep.uphec.software
Class EachRowEditor
Object
EachRowEditor
- All Implemented Interfaces:
- javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class EachRowEditor
- extends Object
- implements javax.swing.table.TableCellEditor
|
Field Summary |
protected javax.swing.table.TableCellEditor |
defaultEditor
|
protected javax.swing.table.TableCellEditor |
editor
|
protected Hashtable |
editors
|
|
Constructor Summary |
EachRowEditor(javax.swing.JTable table)
Constructs a EachRowEditor. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editors
protected Hashtable editors
editor
protected javax.swing.table.TableCellEditor editor
defaultEditor
protected javax.swing.table.TableCellEditor defaultEditor
EachRowEditor
public EachRowEditor(javax.swing.JTable table)
- Constructs a EachRowEditor.
create default editor
see TableCellEditor
see DefaultCellEditor
setEditorAt
public void setEditorAt(int row,
javax.swing.table.TableCellEditor editor)
getTableCellEditorComponent
public Component getTableCellEditorComponent(javax.swing.JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue in interface javax.swing.CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing in interface javax.swing.CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing in interface javax.swing.CellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable in interface javax.swing.CellEditor
addCellEditorListener
public void addCellEditorListener(javax.swing.event.CellEditorListener l)
- Specified by:
addCellEditorListener in interface javax.swing.CellEditor
removeCellEditorListener
public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
- Specified by:
removeCellEditorListener in interface javax.swing.CellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell in interface javax.swing.CellEditor
selectEditor
protected void selectEditor(MouseEvent e)