rero.dck.items

Class ImageInput

public class ImageInput extends SuperInput implements ActionListener

Nested Class Summary
protected static classImageInput.ImageFilter
protected classImageInput.ImagePreview
Field Summary
protected SmallButtonbutton
protected JFileChooserchooser
protected booleandirectory
protected JLabellabel
protected JTextFieldtext
protected Stringvalue
Constructor Summary
ImageInput(String _variable, String _value, String _label, char mnemonic)
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

ImageInput

public ImageInput(String _variable, String _value, String _label, char mnemonic)

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)