public class SliderCellEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor
Constructor and Description |
---|
SliderCellEditor()
Creates a new slider cell editor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCellEditorValue() |
int |
getMaximum()
Gets the maximum of the slider.
|
int |
getMinimum()
Gets the minimum of the slider.
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
void |
setMaximum(int maximum)
Sets the maximum of the slider.
|
void |
setMinimum(int minimum)
Sets the minimum of the slider.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
public SliderCellEditor()
public int getMinimum()
public void setMinimum(int minimum)
minimum
- the minimumpublic int getMaximum()
public void setMaximum(int maximum)
maximum
- the maximumpublic 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