public class UserPrefs extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static UserPrefs |
getPrefs()
Access the singleton instance.
|
void |
saveDebugState(boolean b)
Save the current state of the panel - debug on/off.
|
void |
saveWinLoc(java.lang.String winname,
java.awt.Window window)
Save a window's size and position data under the provided name.
|
boolean |
showDebugPanel()
Should we show the debug panel?
|
void |
useSavedBounds(java.lang.String winname,
java.awt.Window window)
Fetch a window's size and position data and apply it.
|
public boolean showDebugPanel()
public void saveDebugState(boolean b)
public void useSavedBounds(java.lang.String winname, java.awt.Window window)
public void saveWinLoc(java.lang.String winname, java.awt.Window window)