rero.dck.items

Class NetworkSelect

public class NetworkSelect extends SuperInput implements ItemListener

Nested Class Summary
protected static classNetworkSelect.NetworkPanel
Field Summary
static StringALL_NETWORKS
protected JButtonadd
protected StringcurrentV
protected StringListdata
protected JButtondelete
protected LinkedListlisteners
protected JComboBoxnetworks
protected StringnetworkV
Constructor Summary
NetworkSelect(String _variableNetworks, String _variableCurrent)
Method Summary
voidaddActionListener(ActionListener l)
voidaddDeleteListener(ActionListener l)
protected voidfireEvent(String command)
JComponentgetComponent()
intgetEstimatedWidth()
voiditemStateChanged(ItemEvent ev)
voidrefresh()
voidsave()
voidsetAlignWidth(int width)
voidshowNetworkDialog()

Field Detail

ALL_NETWORKS

public static final String ALL_NETWORKS

add

protected JButton add

currentV

protected String currentV

data

protected StringList data

delete

protected JButton delete

listeners

protected LinkedList listeners

networks

protected JComboBox networks

networkV

protected String networkV

Constructor Detail

NetworkSelect

public NetworkSelect(String _variableNetworks, String _variableCurrent)

Method Detail

addActionListener

public void addActionListener(ActionListener l)

addDeleteListener

public void addDeleteListener(ActionListener l)

fireEvent

protected void fireEvent(String command)

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

itemStateChanged

public void itemStateChanged(ItemEvent ev)

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)

showNetworkDialog

public void showNetworkDialog()