Class SchemaPanel.MyEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- javax.swing.DefaultCellEditor
-
- org.locationtech.jts.jump.workbench.ui.SchemaPanel.MyEditor
-
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
,TreeCellEditor
- Direct Known Subclasses:
SchemaPanel.MyDataTypeEditor
,SchemaPanel.MyFieldNameEditor
- Enclosing class:
- SchemaPanel
public abstract class SchemaPanel.MyEditor extends DefaultCellEditor
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
-
-
Field Summary
Fields Modifier and Type Field Description protected int
row
-
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description MyEditor(JComboBox comboBox)
MyEditor(JTextField textField)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
cancelCellEditing()
String
getCurrentErrorMessage()
Component
getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
boolean
stopCellEditing()
protected abstract String
validate()
-
Methods inherited from class javax.swing.DefaultCellEditor
getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
-
-
-
Constructor Detail
-
MyEditor
public MyEditor(JComboBox comboBox)
-
MyEditor
public MyEditor(JTextField textField)
-
-
Method Detail
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
- Overrides:
getTableCellEditorComponent
in classDefaultCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interfaceCellEditor
- Overrides:
cancelCellEditing
in classDefaultCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interfaceCellEditor
- Overrides:
stopCellEditing
in classDefaultCellEditor
-
validate
protected abstract String validate()
-
getCurrentErrorMessage
public String getCurrentErrorMessage()
-
-