All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cnctInfoClientPack.cnctInfoPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----cnctInfoClientPack.cnctInfoPanel

public class cnctInfoPanel
extends Panel
implements cnctInfoSocketEvent, ActionListener

Variable Index

 o akttablenumber
 o BLACK
 o cnctplayer
 o cncttables
 o gbc
 o gbl
 o headline
 o joinbutton
 o newbutton
 o parent
 o playerlist
 o playername
 o refreshbutton
 o socket
 o statusline
 o tablelist
 o tableplayer
 o watchbutton
 o WHITE

Constructor Index

 o cnctInfoPanel(cnctInfoClient, point, String, int, String)

Method Index

 o actionPerformed(ActionEvent)
 o addPlayerToList(cnctInfoPlayer)
 o addTableToList(cnctInfoGame)
 o close()
 o componentInit()
 o errorReceived()
 o games(cnctInfoGameList)
 o grayControl(int)
 o joingame()
 o newgame()
 o newplayerselected()
 o newtableselected()
 o okReceived()
 o paint(Graphics)
 o players(cnctInfoPlayerList)
 o refresh()
 o startNewGame(int, int)
 o watchgame()

Variables

 o parent
 private cnctInfoClient parent
 o socket
 private cnctInfoSocketClient socket
 o akttablenumber
 private int akttablenumber
 o cnctplayer
 private cnctInfoPlayerList cnctplayer
 o cncttables
 private cnctInfoGameList cncttables
 o playername
 private String playername
 o gbl
 private GridBagLayout gbl
 o gbc
 private GridBagConstraints gbc
 o headline
 private Label headline
 o tablelist
 private List tablelist
 o playerlist
 private List playerlist
 o tableplayer
 private List tableplayer
 o statusline
 private Label statusline
 o newbutton
 private Button newbutton
 o joinbutton
 private Button joinbutton
 o watchbutton
 private Button watchbutton
 o refreshbutton
 private Button refreshbutton
 o BLACK
 public static final int BLACK
 o WHITE
 public static final int WHITE

Constructors

 o cnctInfoPanel
 public cnctInfoPanel(cnctInfoClient _parent,
                      point _size,
                      String host,
                      int port,
                      String _playname)

Methods

 o close
 public void close()
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o okReceived
 public void okReceived()
 o errorReceived
 public void errorReceived()
 o players
 public void players(cnctInfoPlayerList playerList)
 o games
 public void games(cnctInfoGameList gameList)
 o addPlayerToList
 private void addPlayerToList(cnctInfoPlayer player)
 o addTableToList
 private void addTableToList(cnctInfoGame game)
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o componentInit
 private void componentInit()
 o newgame
 public void newgame()
 o startNewGame
 public void startNewGame(int _gamesize,
                          int _gamecolor)
 o joingame
 public void joingame()
 o watchgame
 public void watchgame()
 o refresh
 public void refresh()
 o newplayerselected
 private void newplayerselected()
 o newtableselected
 private void newtableselected()
 o grayControl
 private void grayControl(int status)

All Packages  Class Hierarchy  This Package  Previous  Next  Index