rero.dck.items

Class DirectoryInput

public class DirectoryInput extends SuperInput implements ActionListener

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

Field Detail

chooser

protected JFileChooser chooser

directory

protected boolean directory

label

protected JLabel label

text

protected FileLink text

value

protected String value

Constructor Detail

DirectoryInput

public DirectoryInput(String _variable, String _value, String _label, char mnemonic, 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)