rero.dck.items

Class ListInput

public class ListInput extends SuperInput implements ActionListener

Nested Class Summary
protected classListInput.InputListModel
Field Summary
protected StringListdata
protected Stringdesc
protected JListlist
protected ListInput.InputListModelmodel
protected Stringtitle
Constructor Summary
ListInput(String variable, String _title, String _desc, int width, int height)
Method Summary
voidactionPerformed(ActionEvent ev)
JComponentgetComponent()
intgetEstimatedWidth()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)

Field Detail

data

protected StringList data

desc

protected String desc

list

protected JList list

model

protected ListInput.InputListModel model

title

protected String title

Constructor Detail

ListInput

public ListInput(String variable, String _title, String _desc, 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)