Package jmri.jmrit.ctc.editor.code
Class AwtWindowProperties
- java.lang.Object
-
- jmri.jmrit.ctc.editor.code.AwtWindowProperties
-
public class AwtWindowProperties extends java.lang.Object
Use the JMRI UserPreferencesManager to store the size and location for the Editor windows.
-
-
Constructor Summary
Constructors Constructor Description AwtWindowProperties(java.awt.Window window, java.lang.String filename, java.lang.String windowName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveWindowState(java.awt.Window window, java.lang.String windowName)
void
saveWindowStateAndClose(java.awt.Window window, java.lang.String windowName)
void
setWindowState(java.awt.Window window, java.lang.String windowName)
-
-
-
Constructor Detail
-
AwtWindowProperties
public AwtWindowProperties(java.awt.Window window, java.lang.String filename, java.lang.String windowName)
-
-
Method Detail
-
setWindowState
public final void setWindowState(java.awt.Window window, java.lang.String windowName)
-
saveWindowState
public void saveWindowState(java.awt.Window window, java.lang.String windowName)
-
saveWindowStateAndClose
public void saveWindowStateAndClose(java.awt.Window window, java.lang.String windowName)
-
-