Package | Description |
---|---|
org.openstreetmap.josm.data.osm.visitor.paint | |
org.openstreetmap.josm.data.osm.visitor.paint.relations | |
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.mappaint |
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time. |
Modifier and Type | Field and Description |
---|---|
protected NavigatableComponent |
AbstractMapRenderer.nc
the map viewport - provides projection and hit detection functionality
|
Modifier and Type | Method and Description |
---|---|
AbstractMapRenderer |
MapRendererFactory.createActiveRenderer(java.awt.Graphics2D g,
NavigatableComponent viewport,
boolean isInactiveMode)
Creates an instance of the currently active renderer.
|
Constructor and Description |
---|
AbstractMapRenderer(java.awt.Graphics2D g,
NavigatableComponent nc,
boolean isInactiveMode)
Creates an abstract paint visitor
|
StyledMapRenderer(java.awt.Graphics2D g,
NavigatableComponent nc,
boolean isInactiveMode)
Constructs a new
StyledMapRenderer . |
WireframeMapRenderer(java.awt.Graphics2D g,
NavigatableComponent nc,
boolean isInactiveMode)
Creates an wireframe render
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<NavigatableComponent,java.util.Map<DataSet,java.util.Map<Relation,Multipolygon>>> |
MultipolygonCache.cache |
Modifier and Type | Method and Description |
---|---|
void |
MultipolygonCache.clear(NavigatableComponent nc)
Clears the cache for the given navigatable component.
|
Multipolygon |
MultipolygonCache.get(NavigatableComponent nc,
Relation r)
Gets a multipolygon from cache.
|
Multipolygon |
MultipolygonCache.get(NavigatableComponent nc,
Relation r,
boolean forceRefresh)
Gets a multipolygon from cache.
|
Modifier and Type | Class and Description |
---|---|
class |
MapView
This is a component used in the
MapFrame for browsing the map. |
Modifier and Type | Field and Description |
---|---|
private NavigatableComponent |
MapScaler.mv |
private NavigatableComponent |
MapMover.nc
The map to move around.
|
private NavigatableComponent |
SelectionManager.nc
The Component that provides us with OSM data and the aspect is taken from.
|
Constructor and Description |
---|
MapMover(NavigatableComponent navComp,
javax.swing.JPanel contentPane)
Constructs a new
MapMover . |
MapScaler(NavigatableComponent mv)
Constructs a new
MapScaler . |
SelectionManager(SelectionManager.SelectionEnded selectionEndedListener,
boolean aspectRatio,
NavigatableComponent navComp)
Create a new SelectionManager.
|
Modifier and Type | Field and Description |
---|---|
private NavigatableComponent |
ConflictDialog.ConflictPainter.nc |
Modifier and Type | Method and Description |
---|---|
void |
ConflictDialog.paintConflicts(java.awt.Graphics g,
NavigatableComponent nc)
Paints all conflicts that can be expressed on the main window.
|
Constructor and Description |
---|
ConflictPainter(NavigatableComponent nc,
java.awt.Graphics g) |
Modifier and Type | Method and Description |
---|---|
StyleElementList |
ElemStyles.get(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles for one primitive.
|
private Pair<StyleElementList,Range> |
ElemStyles.getImpl(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
ElemStyles.getStyleCacheWithRange(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|