private class MonitorPanel.SliderProxy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.text.DecimalFormat |
m_decimalFormat
Decimal formatter.
|
protected double |
m_multiplier
Multiplier for scaling the slider.
|
protected javax.swing.JSlider |
m_slider
The slider to control.
|
Modifier | Constructor and Description |
---|---|
protected |
MonitorPanel.SliderProxy(javax.swing.JSlider slider,
java.lang.String config,
java.text.DecimalFormat decimalFormat)
Creates a new instance of slider proxy.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setValue(java.lang.Number value)
Sets the value on the slider multiplied by the configured constant.
|
protected javax.swing.JSlider m_slider
protected double m_multiplier
protected java.text.DecimalFormat m_decimalFormat
protected MonitorPanel.SliderProxy(javax.swing.JSlider slider, java.lang.String config, java.text.DecimalFormat decimalFormat)
slider
- the slider to control.config
- resource configuration string.decimalFormat
- for custom numeric output.