Class ClassCellEditor
- java.lang.Object
-
- org.nuiton.jaxx.runtime.swing.editor.ClassCellEditor
-
- All Implemented Interfaces:
CellEditor,TableCellEditor
public class ClassCellEditor extends Object implements TableCellEditor
A class cell editor (fork from comandline project).- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
Fields Modifier and Type Field Description protected TableCellEditordelegate
-
Constructor Summary
Constructors Constructor Description ClassCellEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCellEditorListener(CellEditorListener l)voidcancelCellEditing()ObjectgetCellEditorValue()protected TableCellEditorgetDelegate()ComponentgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)protected booleanhasDelegate()booleanisCellEditable(EventObject anEvent)voidremoveCellEditorListener(CellEditorListener l)booleanshouldSelectCell(EventObject anEvent)booleanstopCellEditing()
-
-
-
Field Detail
-
delegate
protected TableCellEditor delegate
-
-
Method Detail
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValuein interfaceCellEditor
-
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditablein interfaceCellEditor
-
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCellin interfaceCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditingin interfaceCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditingin interfaceCellEditor
-
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListenerin interfaceCellEditor
-
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListenerin interfaceCellEditor
-
getDelegate
protected TableCellEditor getDelegate()
-
hasDelegate
protected boolean hasDelegate()
-
-