rero.dck.items

Class FileListInput

public class FileListInput extends SuperInput implements ActionListener, ListSelectionListener

Nested Class Summary
protected classFileListInput.InputListModel
Field Summary
protected JButtonaddme
protected JFileChooserchooser
protected StringListdata
protected Stringdesc
protected JTextFieldfullPath
protected JListlist
protected FileListInput.InputListModelmodel
protected JButtonremme
Constructor Summary
FileListInput(String variable, String _desc, String add, char mn1, String rem, char mn2, int width, int height)
Method Summary
voidactionPerformed(ActionEvent ev)
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)
voidsetSelectedCaption()
voidvalueChanged(ListSelectionEvent ev)

Field Detail

addme

protected JButton addme

chooser

protected JFileChooser chooser

data

protected StringList data

desc

protected String desc

fullPath

protected JTextField fullPath

list

protected JList list

model

protected FileListInput.InputListModel model

remme

protected JButton remme

Constructor Detail

FileListInput

public FileListInput(String variable, String _desc, String add, char mn1, String rem, char mn2, int width, int height)

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)

setSelectedCaption

public void setSelectedCaption()

valueChanged

public void valueChanged(ListSelectionEvent ev)