Logo Search packages:      
Sourcecode: filler version File versions  Download package

friendless::games::filler::FillerPanel Class Reference

List of all members.


Detailed Description

The panel which holds the FillerBoard and all the associated buttons and combo boxes and so on.

Author:
John Farrell

Definition at line 36 of file FillerPanel.java.


Public Member Functions

void colourButtonClicked (ColourButton cb)
 FillerPanel (PlayerWrappers players, ResourceBundle resources)
void game ()
FillerBoard getBoard ()
void keyPressed (KeyEvent e)
void keyReleased (KeyEvent e)
void keyTyped (KeyEvent e)
int[] play (PlayerWrapper[] players)
void showButtons ()
void showMessage (String s1, String s2)
int[] tournamentMatch (PlayerWrapper[] players)

Protected Member Functions

void cancel ()
void finish ()
void playGame ()
void playTournament (final TournamentRules rules, final PlayerWrappers tournPlayers)

Protected Attributes

FillerBoard board
ButtonGroup[] buttonGroups
JPanel[] buttonPanels
ColourButton[] buttons
JButton cancelButton
volatile boolean cancelled
JPanel cardPanel
CardLayout cards
FillerPlayer currentPlayer
JLabel message1
JLabel message2
PlayerComboBox[] playerNames
PlayerWrappers players
ResourceBundle resources
JLabel[] scoreLabels
JButton startButton

Private Attributes

Random rng = new Random()

Static Private Attributes

static final String SEP = System.getProperty("line.separator")

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index