Package org.nuiton.jaxx.widgets.config
Class ConfigTableEditor
- java.lang.Object
-
- org.nuiton.jaxx.widgets.config.ConfigTableEditor
-
- All Implemented Interfaces:
CellEditor,TableCellEditor
public class ConfigTableEditor extends Object implements TableCellEditor
L'éditeur des valeurs des propriétés d'une configuration- Since:
- 2.5.11
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classConfigTableEditor.FileCellEditorWithExtDetector
-
Field Summary
Fields Modifier and Type Field Description protected TableCellEditordelegateprotected ConfigTableModelmodel
-
Constructor Summary
Constructors Constructor Description ConfigTableEditor(ConfigTableModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCellEditorListener(CellEditorListener l)voidcancelCellEditing()protected TableCellEditorfindDelegate(JTable table, OptionModel option)ObjectgetCellEditorValue()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
-
model
protected final ConfigTableModel model
-
-
Constructor Detail
-
ConfigTableEditor
public ConfigTableEditor(ConfigTableModel model)
-
-
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
-
findDelegate
protected TableCellEditor findDelegate(JTable table, OptionModel option)
-
hasDelegate
protected boolean hasDelegate()
-
-