|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.curre.prefcount.PrefCountRegistry
public class PrefCountRegistry
This is the central place for all prefcount settings and configuration data.
Created date: May 30, 2007
| Field Summary | |
|---|---|
static java.lang.String |
APPLICATION_NAME
Application name. |
static LocaleExt[] |
AVAILABLE_LOCALES
Array of available locales in the application. |
static java.lang.String |
DEFAULT_LOCALE_ID
Default value for the locale ID (case insensitive language name). |
static java.lang.String |
IMAGES_DIR
Location of the images directory. |
static java.lang.String |
SETTINGS_FILE_NAME
Name of the settings file. |
| Method Summary | |
|---|---|
void |
disposeChoosePlayerDialog()
Destroys the choose player dialog. |
ChoosePlayerDialog |
getChoosePlayerDialog()
Gets the choose player dialog (note, that it will be created if if doesn't exist). |
static LocaleExt |
getCurrentLocale()
Returns the current locale. |
GameResultBean |
getGameResultBean()
Getter for the game result bean. |
static PrefCountRegistry |
getInstance()
Returns the singleton instance of this class. |
LastInputPanel |
getLastInputPanel()
Getter for the past input panel reference. |
MainController |
getMainController()
Gets reference to the main controller bean. |
MainWindow |
getMainWindow()
Getter for the main window reference. |
MenuItemsBean |
getMenuItemsBean()
Getter for the reference to the menu items bean. |
PlayerDialogBaseFrame |
getPlayerDialogFrame()
Getter for the player dialog frame. |
java.lang.String |
getSettingsFilePath()
Getter for property 'settingsFilePath' (absolute path to the settings file, including filename). |
void |
setCurrentLocale(java.lang.String localeId)
Setter for the current locale. |
void |
setLastInputPanel(LastInputPanel lastInputPanel)
Setter for the last input panel reference. |
void |
setMainController(MainController mainController)
Sets the main controller bean reference. |
void |
setMainWindow(MainWindow mainWindow)
Setter for the main window reference. |
void |
setPlayerDialogFrame(PlayerDialogBaseFrame playerDialogFrame)
Setter for the player dialog frame. |
void |
setSettingsFilePath(java.lang.String settingsFilePath)
Setter for property 'settingsFilePath' (absolute path to the settings file, including filename). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String APPLICATION_NAME
public static final java.lang.String IMAGES_DIR
public static final java.lang.String DEFAULT_LOCALE_ID
public static final java.lang.String SETTINGS_FILE_NAME
public static final LocaleExt[] AVAILABLE_LOCALES
| Method Detail |
|---|
public static PrefCountRegistry getInstance()
public static LocaleExt getCurrentLocale()
public void setCurrentLocale(java.lang.String localeId)
localeId - Identifier (case insensitive language name)
for the locale to which to set.public MenuItemsBean getMenuItemsBean()
public GameResultBean getGameResultBean()
public MainWindow getMainWindow()
public void setMainWindow(MainWindow mainWindow)
mainWindow - Reference to the main window object.public PlayerDialogBaseFrame getPlayerDialogFrame()
public void setPlayerDialogFrame(PlayerDialogBaseFrame playerDialogFrame)
playerDialogFrame - reference to the player dialog frame.public LastInputPanel getLastInputPanel()
public void setLastInputPanel(LastInputPanel lastInputPanel)
lastInputPanel - Reference to the last input panel to set.public java.lang.String getSettingsFilePath()
public void setSettingsFilePath(java.lang.String settingsFilePath)
settingsFilePath - Value to set for property 'settingsFilePath'.public MainController getMainController()
public void setMainController(MainController mainController)
mainController - reference to the main controller bean.public ChoosePlayerDialog getChoosePlayerDialog()
public void disposeChoosePlayerDialog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||