public class DataSetEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
EDIT
Defines the action for the button.
|
static org.apache.log4j.Logger |
log
Used for logging.
|
Constructor and Description |
---|
DataSetEditor()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Handles events from the editor button and from
the dialog's OK button.
|
java.lang.Object |
getCellEditorValue()
Gets the current value of the cell.
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Returns the button used to invoke the editor.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
public static org.apache.log4j.Logger log
protected static final java.lang.String EDIT
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
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
JButton
.