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 introw-
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 voidcancelCellEditing()StringgetCurrentErrorMessage()ComponentgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)booleanstopCellEditing()protected abstract Stringvalidate()-
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:
getTableCellEditorComponentin interfaceTableCellEditor- Overrides:
getTableCellEditorComponentin classDefaultCellEditor
-
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditingin interfaceCellEditor- Overrides:
cancelCellEditingin classDefaultCellEditor
-
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditingin interfaceCellEditor- Overrides:
stopCellEditingin classDefaultCellEditor
-
validate
protected abstract String validate()
-
getCurrentErrorMessage
public String getCurrentErrorMessage()
-
-