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
- See Also:
-
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, sliderValueFields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponentFields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, stopCellEditingMethods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCellMethods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
Constructor Details
-
MotorSliderEditor
public MotorSliderEditor(int minValue, int maxValue, int value)
-
-
Method Details
-
addComponents
- 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
-