unbbayes.gui.table
Class EachRowEditor
java.lang.Object
unbbayes.gui.table.EachRowEditor
- All Implemented Interfaces:
- CellEditor, TableCellEditor
public class EachRowEditor
- extends Object
- implements TableCellEditor
Each row TableCellEditor
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
EachRowEditor
public EachRowEditor(JTable table)
- Constructs a EachRowEditor. create default editor
- See Also:
TableCellEditor
,
DefaultCellEditor
setEditorAt
public void setEditorAt(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
selectEditor
protected void selectEditor(MouseEvent e)
Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.