Package | Description |
---|---|
org.openstreetmap.josm | |
org.openstreetmap.josm.gui | |
org.openstreetmap.josm.tools |
Modifier and Type | Field and Description |
---|---|
protected static WindowGeometry |
Main.geometry |
Modifier and Type | Field and Description |
---|---|
private WindowGeometry |
ExtendedDialog.defaultWindowGeometry |
Modifier and Type | Method and Description |
---|---|
protected WindowGeometry |
ExtendedDialog.initWindowGeometry() |
Modifier and Type | Method and Description |
---|---|
protected void |
ExtendedDialog.rememberWindowGeometry(WindowGeometry geometry) |
ExtendedDialog |
ExtendedDialog.setRememberWindowGeometry(String pref,
WindowGeometry wg)
Call this if you want the dialog to remember the geometry (size and position) set by the user.
|
Modifier and Type | Method and 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 is
|
static 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
WindowGeometry.initFromWindowGeometry(WindowGeometry other) |
Constructor and Description |
---|
WindowGeometry(String preferenceKey,
WindowGeometry defaultGeometry)
Creates a window geometry from the values kept in the preference store under the
key
preferenceKey . |