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 |
|---|
MyEditor(JComboBox comboBox) |
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 MyEditor(JComboBox comboBox)
public 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 © 2017 B3Partners B.V.. All rights reserved.