rero.dck.items

Class StringInput

public class StringInput extends SuperInput

Field Summary
protected JLabellabel
protected JTextFieldtext
protected Stringvalue
Constructor Summary
StringInput(String var, String _value, String _label, int rightGap, char mnemonic)
Method Summary
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)

Field Detail

label

protected JLabel label

text

protected JTextField text

value

protected String value

Constructor Detail

StringInput

public StringInput(String var, String _value, String _label, int rightGap, char mnemonic)

Method Detail

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)