Package | Description |
---|---|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
Modifier and Type | Field and Description |
---|---|
private MapViewState |
NavigatableComponent.state
The current state (scale, center, ...) of this map view.
|
Modifier and Type | Method and Description |
---|---|
static MapViewState |
MapViewState.createDefaultState(int width,
int height)
Create the default
MapViewState object for the given map view. |
MapViewState |
NavigatableComponent.getState()
Gets the current view state.
|
MapViewState |
MapViewState.movedTo(MapViewState.MapViewPoint mapViewPoint,
EastNorth newEastNorthThere) |
MapViewState |
MapViewState.usingCenter(EastNorth newCenter)
Creates a new state that is the same as the current state except for that it is using a new center.
|
MapViewState |
MapViewState.usingLocation(javax.swing.JComponent positon)
Creates a new state that is the same as the current state except for that it is using the location of the given component.
|
MapViewState |
MapViewState.usingProjection(Projection projection)
Creates a state that uses the projection.
|
MapViewState |
MapViewState.usingScale(double newScale)
Creates a new state that is the same as the current state except for that it is using a new scale.
|
Constructor and Description |
---|
MapViewState(double scale,
MapViewState mapViewState) |
MapViewState(EastNorth topLeft,
MapViewState mapViewState) |
MapViewState(javax.swing.JComponent position,
MapViewState mapViewState) |
MapViewState(Projection projection,
MapViewState mapViewState) |