public class SpinnerEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
protected javax.swing.JSpinner |
spinner |
protected javax.swing.JPanel |
spinnerPanel |
Constructor and Description |
---|
SpinnerEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCellEditorValue() |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
void |
setModel(javax.swing.SpinnerModel model) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
private static final long serialVersionUID
protected final javax.swing.JSpinner spinner
protected final javax.swing.JPanel spinnerPanel
public void setModel(javax.swing.SpinnerModel model)
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