Package mgui.interfaces.shapes.volume
Class InterfaceVolumePanel.SliderTableColumn
java.lang.Object
javax.swing.AbstractCellEditor
mgui.interfaces.shapes.volume.InterfaceVolumePanel.SliderTableColumn
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,javax.swing.CellEditor
,javax.swing.event.ChangeListener
,javax.swing.table.TableCellEditor
,javax.swing.table.TableCellRenderer
- Enclosing class:
- InterfaceVolumePanel
public class InterfaceVolumePanel.SliderTableColumn
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellRenderer, javax.swing.table.TableCellEditor, javax.swing.event.ChangeListener
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors Constructor Description SliderTableColumn(int min, int max, int initial)
-
Method Summary
Modifier and Type Method Description java.lang.Object
getCellEditorValue()
java.awt.Component
getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
java.awt.Component
getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
void
stateChanged(javax.swing.event.ChangeEvent e)
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
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, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Constructor Details
-
SliderTableColumn
public SliderTableColumn(int min, int max, int initial)
-
-
Method Details
-
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
-
getCellEditorValue
public java.lang.Object getCellEditorValue()- Specified by:
getCellEditorValue
in interfacejavax.swing.CellEditor
-
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)- Specified by:
getTableCellRendererComponent
in interfacejavax.swing.table.TableCellRenderer
-
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)- Specified by:
getTableCellEditorComponent
in interfacejavax.swing.table.TableCellEditor
-