public class UserPrefs
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static UserPrefs |
usersPrefs |
Modifier and Type | Method and Description |
---|---|
static UserPrefs |
getPrefs()
Access the singleton instance.
|
(package private) java.awt.Rectangle |
getWinLoc(java.lang.String winname) |
void |
saveDebugState(boolean b)
Save the current state of the panel - debug on/off.
|
(package private) void |
saveWinLoc(java.lang.String winname,
java.awt.Point screenloc,
java.awt.Dimension size) |
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?
|
(package private) boolean |
showPreviewBorder() |
void |
useSavedBounds(java.lang.String winname,
java.awt.Window window)
Fetch a window's size and position data and apply it.
|
static UserPrefs usersPrefs
public static UserPrefs getPrefs()
boolean showPreviewBorder()
public boolean showDebugPanel()
void saveWinLoc(java.lang.String winname, java.awt.Point screenloc, java.awt.Dimension size)
java.awt.Rectangle getWinLoc(java.lang.String winname)
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)