Package de.pco.example
Class MetadataTableEditor
java.lang.Object
javax.swing.AbstractCellEditor
de.pco.example.MetadataTableEditor
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor
public class MetadataTableEditor extends AbstractCellEditor implements TableCellEditor
Required class of the JTable API that represents the UI components used for
editing the values in the table
- Author:
- PCO
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
Constructors Constructor Description MetadataTableEditor()Constructor -
Method Summary
Modifier and Type Method Description ObjectgetCellEditorValue()Returns the value of the edited cellComponentgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)Returns the UI component in which the cell should be edited.Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Constructor Details
-
MetadataTableEditor
public MetadataTableEditor()Constructor
-
-
Method Details
-
getCellEditorValue
Returns the value of the edited cell- Specified by:
getCellEditorValuein interfaceCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)Returns the UI component in which the cell should be edited.- Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-