GUI
Class CentralViewWindow

java.lang.Object
  extended by GUI.CentralViewWindow

public class CentralViewWindow
extends java.lang.Object

Class used to provide implementation for method that handles and transform as necessary the central panel of the GUI's main frame.


Constructor Summary
CentralViewWindow()
           
 
Method Summary
static void showCentralPanel(GUI grid)
          Method implemented when the go to jail tab must be viewed on the central panel.
static void showCentralPanel(GUI grid, Card card)
          Method implemented when a card must be viewed on the central panel.
static void showCentralPanel(GUI grid, Taxes tax)
          Method implemented when tax info must be viewed on the central panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentralViewWindow

public CentralViewWindow()
Method Detail

showCentralPanel

public static void showCentralPanel(GUI grid,
                                    Card card)
Method implemented when a card must be viewed on the central panel.

Parameters:
grid - the current gui of the program.
card - the card the player has picked.

showCentralPanel

public static void showCentralPanel(GUI grid,
                                    Taxes tax)
Method implemented when tax info must be viewed on the central panel.

Parameters:
grid - the current gui of the program.
tax - the tax the player has to pay.

showCentralPanel

public static void showCentralPanel(GUI grid)
Method implemented when the go to jail tab must be viewed on the central panel.

Parameters:
grid - the current gui of the program.