Public Member Functions | |
double | getDouble (String name, double defaultValue) |
void | setInt (String name, int value) |
void | setString (String name, String value) |
String | getString (String name, String defaultValue) |
int | getInt (String name, int defaultValue) |
Static Public Member Functions | |
static ThebaPrefs | getInstance () |
Package Functions | |
ThebaPrefs (JFrame f) |
This class represents a properties-panel containing application-wide settings for ThebaGUI
Definition at line 29 of file ThebaPrefs.java.
theba.core.gui.ThebaPrefs.ThebaPrefs | ( | JFrame | f | ) | [package] |
Definition at line 96 of file ThebaPrefs.java.
Referenced by theba.core.gui.ThebaPrefs.getInstance().
double theba.core.gui.ThebaPrefs.getDouble | ( | String | name, | |
double | defaultValue | |||
) |
Definition at line 55 of file ThebaPrefs.java.
static ThebaPrefs theba.core.gui.ThebaPrefs.getInstance | ( | ) | [static] |
Definition at line 45 of file ThebaPrefs.java.
References theba.core.gui.ThebaPrefs.ThebaPrefs().
int theba.core.gui.ThebaPrefs.getInt | ( | String | name, | |
int | defaultValue | |||
) |
Returns the current value for a given property or defaultValue if no other value has been specified
Definition at line 88 of file ThebaPrefs.java.
String theba.core.gui.ThebaPrefs.getString | ( | String | name, | |
String | defaultValue | |||
) |
Returns the current value for a given property or defaultValue if no other value has been specified
Definition at line 76 of file ThebaPrefs.java.
void theba.core.gui.ThebaPrefs.setInt | ( | String | name, | |
int | value | |||
) |
Definition at line 63 of file ThebaPrefs.java.
Referenced by theba.core.gui.OpenDialog.validateFields().
void theba.core.gui.ThebaPrefs.setString | ( | String | name, | |
String | value | |||
) |
Definition at line 67 of file ThebaPrefs.java.
Referenced by theba.core.gui.OpenDialog.validateFields().