Class MotorSliderEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- javax.swing.DefaultCellEditor
-
- org.bidib.wizard.client.common.view.slider.SliderEditor
-
- org.bidib.wizard.mvc.main.view.table.MotorSliderEditor
-
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor,TreeCellEditor
- Direct Known Subclasses:
MotorSlider
public class MotorSliderEditor extends SliderEditor
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
-
-
Field Summary
-
Fields inherited from class org.bidib.wizard.client.common.view.slider.SliderEditor
panel, slider, sliderValue
-
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description MotorSliderEditor(int minValue, int maxValue, int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddComponents(JPanel panel, JComponent... components)protected voidcreateJSlider(int minValue, int maxValue, int initialValue)protected voidprepareSliderTextLabel(int maxValue, int initialValue)voidsetEnabled(boolean enabled)voidstop()protected voidupdateSliderTextValue(JTable table, int value, boolean isSelected, int row, int column)-
Methods inherited from class org.bidib.wizard.client.common.view.slider.SliderEditor
calculateValueWidth, fireEditingStopped, getCellEditorValue, getTableCellEditorComponent, moveMaxValue, moveMinValue, setMaxValue, setMinValue, setSliderValueChangeListener, stepDown, stepUp, stopCellEditing
-
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListener
-
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, removeCellEditorListener
-
-
-
-
Method Detail
-
addComponents
protected void addComponents(JPanel panel, JComponent... components)
- Overrides:
addComponentsin classSliderEditor
-
createJSlider
protected void createJSlider(int minValue, int maxValue, int initialValue)- Overrides:
createJSliderin classSliderEditor
-
prepareSliderTextLabel
protected void prepareSliderTextLabel(int maxValue, int initialValue)- Overrides:
prepareSliderTextLabelin classSliderEditor
-
updateSliderTextValue
protected void updateSliderTextValue(JTable table, int value, boolean isSelected, int row, int column)
- Overrides:
updateSliderTextValuein classSliderEditor
-
stop
public void stop()
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabledin classSliderEditor
-
-