|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.curre.prefcount.bean.Settings
public class Settings
Object of this class represents a bean for storing application settings (window size, theme, default locale, etc.).
Created date: Jun 10, 2007
| Field Summary | |
|---|---|
static int |
DEFAULT_DIALOG_FRAME_HEIGHT
Default value for the dialog window frame height. |
static int |
DEFAULT_DIALOG_FRAME_WIDTH
Default value for the dialog window frame width. |
static java.lang.String |
DEFAULT_LAF_SKIN_ID
Default value for the Look and Feel theme/skin ID. |
static int |
DEFAULT_MAIN_FRAME_HEIGHT
Default value for the main window frame height. |
static int |
DEFAULT_MAIN_FRAME_WIDTH
Default value for the main window frame width. |
| Constructor Summary | |
|---|---|
Settings()
Default constructor that initializes all properties to the default values. |
|
| Method Summary | |
|---|---|
int |
getDialogFrameHeight()
Getter for the dialog window frame height. |
int |
getDialogFrameWidth()
Getter for the dialog window frame width. |
java.lang.String |
getLafSkinId()
Getter for the Look and Feel theme/skin ID (resource key). |
java.lang.String |
getLocaleId()
Getter for the locale identifier (case insensitive language name). |
int |
getMainFrameHeight()
Getter for the main window frame height. |
int |
getMainFrameWidth()
Getter for the main window frame width. |
void |
reset()
Method to reset the settings to default values. |
void |
setDialogFrameHeight(int dialogFrameHeight)
Setter for the dialog window frame height. |
void |
setDialogFrameWidth(int dialogFrameWidth)
Setter for the dialog window frame width. |
void |
setLafSkinId(java.lang.String lafSkinId)
Setter for the Look and Feel theme/skin ID (resource key). |
void |
setLocaleId(java.lang.String localeId)
Setter for the locale identifier (case insensitive language name). |
void |
setMainFrameHeight(int mainFrameHeight)
Setter for the main window frame height. |
void |
setMainFrameWidth(int mainFrameWidth)
Setter for the main window frame width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_MAIN_FRAME_WIDTH
public static final int DEFAULT_MAIN_FRAME_HEIGHT
public static final int DEFAULT_DIALOG_FRAME_WIDTH
public static final int DEFAULT_DIALOG_FRAME_HEIGHT
public static final java.lang.String DEFAULT_LAF_SKIN_ID
| Constructor Detail |
|---|
public Settings()
| Method Detail |
|---|
public int getMainFrameWidth()
public void setMainFrameWidth(int mainFrameWidth)
mainFrameWidth - Main window frame width.public int getMainFrameHeight()
public void setMainFrameHeight(int mainFrameHeight)
mainFrameHeight - Main window frame height.public int getDialogFrameWidth()
public void setDialogFrameWidth(int dialogFrameWidth)
dialogFrameWidth - Dialog window frame width.public int getDialogFrameHeight()
public void setDialogFrameHeight(int dialogFrameHeight)
dialogFrameHeight - Dialog window frame height.public java.lang.String getLafSkinId()
public void setLafSkinId(java.lang.String lafSkinId)
lafSkinId - The Look and Feel theme/skin ID (resource key).public java.lang.String getLocaleId()
public void setLocaleId(java.lang.String localeId)
localeId - Locale identifier (case insensitive language name).public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||