|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrit.throttle.WindowPreferences
public class WindowPreferences
A helper class for getting and setting XML attributes of a JInternalFrame.
| Constructor Summary | |
|---|---|
WindowPreferences()
|
|
| Method Summary | |
|---|---|
static Element |
getPreferences(Container c)
Collect container preferences. |
static Element |
getPreferences(JInternalFrame c)
Collect JInternalFrame preferences. |
static void |
setPreferences(Container c,
Element e)
|
static void |
setPreferences(Container c,
Element e,
boolean ignorePosition)
Set Container preferences from an XML Element. |
static void |
setPreferences(JInternalFrame c,
Element e)
Set JInternalFrame preferences from an XML Element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowPreferences()
| Method Detail |
|---|
public static Element getPreferences(JInternalFrame c)
c - The JInternalFrame being XMLed.
public static void setPreferences(JInternalFrame c,
Element e)
c - The JInternalFrame being set.e - An Element containing the following prefs:
public static Element getPreferences(Container c)
c - The container being XMLed.
public static void setPreferences(Container c,
Element e,
boolean ignorePosition)
c - The Container being set.e - An Element containing the following prefs:
public static void setPreferences(Container c,
Element e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||