net.sf.magicproject.ui.component
Class TableTop

java.lang.Object
  extended by net.sf.magicproject.ui.component.TableTop

public final class TableTop
extends java.lang.Object

Since:
0.90
Author:
Fabrice Daugan

Field Summary
 javax.swing.JTabbedPane tabbedPane
          Tabbed zone panel.
 javax.swing.JPanel tablePanel
          The component representing the table : plays + hands
 
Method Summary
 void fillAdditionalZones(Player player, java.util.Collection<ExpandableZone> additionalZones)
          Add the specified additional zones arround the stack & TBZ zones.
static TableTop getInstance()
          Return the unique instance of this class.
static void init(javax.swing.JTabbedPane playerTabbedPanel, javax.swing.JTabbedPane previewTabbedPanel)
          Create a new instance of this class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabbedPane

public final javax.swing.JTabbedPane tabbedPane
Tabbed zone panel.


tablePanel

public final javax.swing.JPanel tablePanel
The component representing the table : plays + hands

Method Detail

init

public static void init(javax.swing.JTabbedPane playerTabbedPanel,
                        javax.swing.JTabbedPane previewTabbedPanel)
Create a new instance of this class.

Parameters:
playerTabbedPanel - the panel where player related panels will be added.
previewTabbedPanel - the panel containing chat, log, preview panel

fillAdditionalZones

public void fillAdditionalZones(Player player,
                                java.util.Collection<ExpandableZone> additionalZones)
Add the specified additional zones arround the stack & TBZ zones.

Parameters:
player -
additionalZones - the panel where player related panels will be added.

getInstance

public static TableTop getInstance()
Return the unique instance of this class.

Returns:
the unique instance of this class.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.