rero.dck.items

Class FileInput

public class FileInput extends SuperInput implements ActionListener

Field Summary
protected SmallButtonbutton
protected JFileChooserchooser
protected booleandirectory
protected JLabellabel
protected JTextFieldtext
protected Stringvalue
Constructor Summary
FileInput(String _variable, String _value, String _label, char mnemonic, boolean _directory, int inset)
Method Summary
voidactionPerformed(ActionEvent ev)
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)

Field Detail

button

protected SmallButton button

chooser

protected JFileChooser chooser

directory

protected boolean directory

label

protected JLabel label

text

protected JTextField text

value

protected String value

Constructor Detail

FileInput

public FileInput(String _variable, String _value, String _label, char mnemonic, boolean _directory, int inset)

Method Detail

actionPerformed

public void actionPerformed(ActionEvent ev)

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)