|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--javax.swing.DefaultCellEditor
|
+--Watcher.v2_1.CellEditor
Internal class which extends DefaultCellEditor. An instance of this class is used as CellEditor of the table. The class redefines a method which returns wether the cells are editable. It returns the value returned from Table.isCellEditable().
| Inner classes inherited from class javax.swing.DefaultCellEditor |
javax.swing.DefaultCellEditor.EditorDelegate |
| Field Summary | |
private Table |
table
|
| Fields inherited from class javax.swing.DefaultCellEditor |
clickCountToStart, delegate, editorComponent |
| Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
| Constructor Summary | |
CellEditor(Table table)
Constructor. |
|
| Method Summary | |
boolean |
isCellEditable(java.util.EventObject eobj)
Redefines this method to be able to prevent cell editing. |
| Methods inherited from class javax.swing.DefaultCellEditor |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, setClickCountToStart, shouldSelectCell, stopCellEditing |
| Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, removeCellEditorListener |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, removeCellEditorListener |
| Field Detail |
private Table table
| Constructor Detail |
public CellEditor(Table table)
table - Reference to the Table class.| Method Detail |
public boolean isCellEditable(java.util.EventObject eobj)
isCellEditable in class javax.swing.DefaultCellEditor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||