Package | Description |
---|---|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.util |
Provides GUI utility classes.
|
Modifier and Type | Field and Description |
---|---|
private WindowGeometry |
ExtendedDialog.defaultWindowGeometry |
protected WindowGeometry |
MainFrame.geometry |
Modifier and Type | Method and Description |
---|---|
protected WindowGeometry |
ExtendedDialog.initWindowGeometry() |
Modifier and Type | Method and Description |
---|---|
private static MainFrame |
MainApplication.createMainFrame(WindowGeometry geometry) |
protected void |
ExtendedDialog.rememberWindowGeometry(WindowGeometry geometry) |
ExtendedDialog |
IExtendedDialog.setRememberWindowGeometry(java.lang.String pref,
WindowGeometry wg)
Call this if you want the dialog to remember the geometry (size and position) set by the user.
|
ExtendedDialog |
ExtendedDialog.setRememberWindowGeometry(java.lang.String pref,
WindowGeometry wg) |
Constructor and Description |
---|
MainFrame(WindowGeometry geometry)
Create a new main window.
|
Modifier and Type | Method and Description |
---|---|
static WindowGeometry |
WindowGeometry.centerInWindow(java.awt.Component reference,
java.awt.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(java.awt.Dimension extent)
Replies a window geometry object for a window with a specific size which is
centered on screen, where main window is
|
static WindowGeometry |
WindowGeometry.centerOnScreen(java.awt.Dimension extent,
java.lang.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(java.lang.String preferenceKey,
java.lang.String arg,
boolean maximize)
Gets the geometry of the main window
|
Modifier and Type | Method and Description |
---|---|
protected void |
WindowGeometry.initFromWindowGeometry(WindowGeometry other) |
Constructor and Description |
---|
WindowGeometry(java.lang.String preferenceKey,
WindowGeometry defaultGeometry)
Creates a window geometry from the values kept in the preference store under the
key
preferenceKey . |