public abstract class SchemaPanel.MyEditor extends DefaultCellEditor
DefaultCellEditor.EditorDelegate| Modifier and Type | Field and Description |
|---|---|
protected int |
row |
clickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
SchemaPanel.MyEditor(JComboBox comboBox) |
SchemaPanel.MyEditor(JTextField textField) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCellEditing() |
String |
getCurrentErrorMessage() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
protected abstract String |
validate() |
getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCelladdCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerpublic SchemaPanel.MyEditor(JComboBox comboBox)
public SchemaPanel.MyEditor(JTextField textField)
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorgetTableCellEditorComponent in class DefaultCellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorcancelCellEditing in class DefaultCellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class DefaultCellEditorprotected abstract String validate()
public String getCurrentErrorMessage()
Copyright © 2015. All rights reserved.