Uses of Class
org.openstreetmap.josm.gui.util.WindowGeometry
-
Packages that use WindowGeometry Package Description org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.util Provides GUI utility classes. -
-
Uses of WindowGeometry in org.openstreetmap.josm.gui
Fields in org.openstreetmap.josm.gui declared as WindowGeometry Modifier and Type Field Description private WindowGeometry
ExtendedDialog. defaultWindowGeometry
protected WindowGeometry
MainFrame. geometry
Methods in org.openstreetmap.josm.gui that return WindowGeometry Modifier and Type Method Description protected WindowGeometry
ExtendedDialog. initWindowGeometry()
Methods in org.openstreetmap.josm.gui with parameters of type WindowGeometry Modifier and Type Method Description private static MainFrame
MainApplication. createMainFrame(WindowGeometry geometry)
protected void
ExtendedDialog. rememberWindowGeometry(WindowGeometry geometry)
ExtendedDialog
ExtendedDialog. setRememberWindowGeometry(String pref, WindowGeometry wg)
ExtendedDialog
IExtendedDialog. setRememberWindowGeometry(String pref, WindowGeometry wg)
Call this if you want the dialog to remember the geometry (size and position) set by the user.Constructors in org.openstreetmap.josm.gui with parameters of type WindowGeometry Constructor Description MainFrame(WindowGeometry geometry)
Create a new main window. -
Uses of WindowGeometry in org.openstreetmap.josm.gui.util
Methods in org.openstreetmap.josm.gui.util that return WindowGeometry Modifier and Type Method Description static WindowGeometry
WindowGeometry. centerInWindow(Component reference, Dimension extent)
Replies a window geometry object for a window with a specific size which is centered relative to the parent window of a reference component.static WindowGeometry
WindowGeometry. centerOnScreen(Dimension extent)
Replies a window geometry object for a window with a specific size which is centered on screen, where main window isstatic WindowGeometry
WindowGeometry. centerOnScreen(Dimension extent, String preferenceKey)
Replies a window geometry object for a window with a specific size which is centered on screen where the corresponding window is.static WindowGeometry
WindowGeometry. mainWindow(String preferenceKey, String arg, boolean maximize)
Gets the geometry of the main windowMethods in org.openstreetmap.josm.gui.util with parameters of type WindowGeometry Modifier and Type Method Description protected void
WindowGeometry. initFromWindowGeometry(WindowGeometry other)
Constructors in org.openstreetmap.josm.gui.util with parameters of type WindowGeometry Constructor Description WindowGeometry(String preferenceKey, WindowGeometry defaultGeometry)
Creates a window geometry from the values kept in the preference store under the keypreferenceKey
.
-