rero.dck.items

Class ServerList

public class ServerList extends JPanel implements DItem

Nested Class Summary
protected classServerList.EditServerInfo
protected classServerList.NetworkListModel
protected classServerList.ServerEditorDialog
protected classServerList.ServerListModel
Field Summary
protected StringListautoConnect
protected DCapabilitiescapabilities
protected JComponentcomponent
protected JButtonconnect
protected ServerDatadata
protected JButtonedit
protected intheight
protected JListlist
protected JComboBoxnetwork
protected intwidth
Constructor Summary
ServerList(ServerData _data, int _width, int _height, DCapabilities _capabilities)
Method Summary
JComponentgetComponent()
intgetEstimatedWidth()
voidhandleConnectAction()
voidrefresh()
voidsave()
voidsetAlignWidth(int width)
voidsetEnabled(boolean b)
voidsetParent(DParent parent)
voidsetParentVariable(String parent)

Field Detail

autoConnect

protected StringList autoConnect

capabilities

protected DCapabilities capabilities

component

protected JComponent component

connect

protected JButton connect

data

protected ServerData data

edit

protected JButton edit

height

protected int height

list

protected JList list

network

protected JComboBox network

width

protected int width

Constructor Detail

ServerList

public ServerList(ServerData _data, int _width, int _height, DCapabilities _capabilities)

Method Detail

getComponent

public JComponent getComponent()

getEstimatedWidth

public int getEstimatedWidth()

handleConnectAction

public void handleConnectAction()

refresh

public void refresh()

save

public void save()

setAlignWidth

public void setAlignWidth(int width)

setEnabled

public void setEnabled(boolean b)

setParent

public void setParent(DParent parent)

setParentVariable

public void setParentVariable(String parent)