|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.curre.prefcount.service.MainService
public class MainService
This service bean is responsible for handling various general tasks such as quitting, printing, etc.
Created date: Jun 15, 2008
| Method Summary | |
|---|---|
static PrefCountMenuBar |
addMainWindowMenuBar(javax.swing.JFrame frame)
Creates an appropriate menu bar for the main window and sets it on the mainWindow object. |
static PrefCountMenuBar |
addPlayerDialogMenuBar(javax.swing.JFrame frame)
Creates a menu bar for the player dialog window and sets it on the mainWindow.playerDialogFrame object. |
static void |
doPrint()
Sends the game results to the OS printing system. |
static void |
doPrintTemplate(int numberOfPlayers)
Sends the score board template to the OS printing system. |
static void |
doQuit()
Disposes all frames and quits the application. |
static void |
doShowHelp(WindowComponent itemEnum)
Displays help information in a separate window. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void doShowHelp(WindowComponent itemEnum)
itemEnum - help type.public static void doPrint()
public static void doPrintTemplate(int numberOfPlayers)
numberOfPlayers - number of players for the template.public static void doQuit()
public static PrefCountMenuBar addPlayerDialogMenuBar(javax.swing.JFrame frame)
frame - Reference to the frame to add this menu bar to.
public static PrefCountMenuBar addMainWindowMenuBar(javax.swing.JFrame frame)
frame - Frame to add menu bar to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||