public abstract class SchemaPanel.MyEditor
extends javax.swing.DefaultCellEditor
Modifier and Type | Field and Description |
---|---|
protected int |
row |
Constructor and Description |
---|
SchemaPanel.MyEditor(javax.swing.JComboBox comboBox) |
SchemaPanel.MyEditor(javax.swing.JTextField textField) |
Modifier and Type | Method and Description |
---|---|
void |
cancelCellEditing() |
java.lang.String |
getCurrentErrorMessage() |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
protected abstract java.lang.String |
validate() |
getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
public SchemaPanel.MyEditor(javax.swing.JComboBox comboBox)
public SchemaPanel.MyEditor(javax.swing.JTextField textField)
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
getTableCellEditorComponent
in class javax.swing.DefaultCellEditor
public void cancelCellEditing()
cancelCellEditing
in interface javax.swing.CellEditor
cancelCellEditing
in class javax.swing.DefaultCellEditor
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
stopCellEditing
in class javax.swing.DefaultCellEditor
protected abstract java.lang.String validate()
public java.lang.String getCurrentErrorMessage()