rero.dck.items

Class FloatInput

public class FloatInput extends SuperInput implements ChangeListener

Field Summary
protected JLabellabel
protected JSliderslider
protected JTextFieldtext
protected floatvalue
Constructor Summary
FloatInput(String var, float _value, String _label)
Method Summary
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)
voidstateChanged(ChangeEvent ev)

Field Detail

label

protected JLabel label

slider

protected JSlider slider

text

protected JTextField text

value

protected float value

Constructor Detail

FloatInput

public FloatInput(String var, float _value, String _label)

Method Detail

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)

stateChanged

public void stateChanged(ChangeEvent ev)