|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mlc.swing.layout.UserPrefs
public class UserPrefs
This is a singleton container for handling user preferences. These include window size and positions, debug frame visibility, etc.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UserPrefs getPrefs()
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |