Package | Description |
---|---|
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map modes . |
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.draw |
Provides GUI classes for 2D drawing in the map.
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.layer.geoimage |
Provides classes for handling layers displaying geottaged pictures.
|
org.openstreetmap.josm.gui.layer.gpx |
Provides classes for handling GPX layers.
|
org.openstreetmap.josm.gui.layer.imagery |
Provides classes for handling imagery background layers.
|
org.openstreetmap.josm.gui.layer.markerlayer |
Provides classes for handling marker layers.
|
org.openstreetmap.josm.gui.layer.validation |
Provides classes for handling validation layer.
|
Modifier and Type | Field and Description |
---|---|
private MapView |
SelectAction.mv
The component this SelectAction is associated with.
|
private MapView |
ImproveWayAccuracyAction.mv |
private MapView |
ParallelWayAction.mv |
Modifier and Type | Method and Description |
---|---|
protected void |
ImproveWayAccuracyAction.drawIntersectingWayHelperLines(MapView mv,
MapViewPath b) |
private void |
ExtrudeAction.drawReferenceSegment(java.awt.Graphics2D g2,
MapView mv,
ExtrudeAction.ReferenceSegment seg)
Draws given reference segment.
|
static Node |
ImproveWayAccuracyHelper.findCandidateNode(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest node to cursor.
|
static WaySegment |
ImproveWayAccuracyHelper.findCandidateSegment(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest way segment to cursor.
|
static Way |
ImproveWayAccuracyHelper.findWay(MapView mv,
java.awt.Point p)
Finds the way to work on.
|
void |
ExtrudeAction.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
void |
ImproveWayAccuracyAction.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox)
Redraws temporary layer.
|
void |
ParallelWayAction.ParallelWayLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox) |
void |
DrawAction.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
private void |
DrawAction.paintConstructionGeometry(MapView mv,
java.awt.Graphics2D g2) |
Modifier and Type | Field and Description |
---|---|
MapView |
MapFrame.mapView
The view control displayed.
|
private MapView |
MapSlider.mv |
private MapView |
MapStatus.mv
The MapView this status belongs to.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<? extends javax.swing.JComponent> |
MapView.getMapNavigationComponents(MapView forMapView)
Adds the map navigation components to a
|
void |
SelectionManager.SelectionHintLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox) |
void |
SelectionManager.register(MapView eventSource,
boolean lassoMode)
Register itself at the given event source and add a hint layer.
|
void |
SelectionManager.unregister(MapView eventSource)
Unregister itself from the given event source and hide the selection hint layer.
|
Constructor and Description |
---|
MapSlider(MapView mv) |
Constructor and Description |
---|
MapViewPath(MapView mv)
Create a new path
|
Modifier and Type | Field and Description |
---|---|
private MapView |
MapViewGraphics.mapView |
private MapView |
MapViewPaintable.MapViewEvent.mapView |
Modifier and Type | Method and Description |
---|---|
MapView |
MapViewGraphics.getMapView()
Gets the
MapView that is the base to this draw call. |
MapView |
MapViewPaintable.MapViewEvent.getMapView()
Gets the map view.
|
Modifier and Type | Method and Description |
---|---|
private void |
AbstractTileSourceLayer.drawInViewArea(java.awt.Graphics2D g,
MapView mv,
ProjectionBounds pb) |
private java.awt.Point |
NoteLayer.fixPanelSizeAndLocation(MapView mv,
java.lang.String text,
int xl,
int xr,
int yt,
int yb) |
void |
OsmDataLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box)
Draw all primitives in this layer but do not draw modified ones (they
are drawn by the edit layer).
|
void |
MapViewPaintable.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox)
Paint the dataset using the engine set.
|
void |
NoteLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
void |
GpxLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bbox) |
void |
ValidatorLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bounds)
Draw all primitives in this layer but do not draw modified ones (they
are drawn by the edit layer).
|
void |
AbstractTileSourceLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bounds) |
private void |
NoteLayer.paintSelectedNote(java.awt.Graphics2D g,
MapView mv,
int iconHeight,
int iconWidth,
Note selectedNote) |
Constructor and Description |
---|
MapViewEvent(MapView mapView,
boolean temporaryLayer)
Create a new
MapViewPaintable.MapViewEvent |
MapViewGraphics(MapView mapView,
java.awt.Graphics2D graphics,
MapViewState.MapViewRectangle clipBounds)
Constructs a new
MapViewGraphics . |
Modifier and Type | Method and Description |
---|---|
void |
GeoImageLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds bounds) |
private void |
GeoImageLayer.paintImage(ImageEntry e,
MapView mv,
java.awt.Rectangle clip,
java.awt.Graphics2D tempG)
Paint one image.
|
Modifier and Type | Method and Description |
---|---|
void |
GpxDrawHelper.drawAll(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Draw all enabled GPX elements of layer.
|
private void |
GpxDrawHelper.drawArrows(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Draw all GPX arrays
|
void |
GpxDrawHelper.drawColorBar(java.awt.Graphics2D g,
MapView mv)
Draw all GPX arrays
|
private static void |
GpxDrawHelper.drawHeatGrayDotMap(java.awt.Graphics2D gB,
MapView mv,
java.util.List<WayPoint> listSegm,
int drawSize)
Draw a dotted heat map
|
private void |
GpxDrawHelper.drawHeatGrayLineMap(java.awt.Graphics2D gB,
MapView mv,
java.util.List<WayPoint> listSegm,
java.awt.Composite foreComp,
java.awt.Stroke foreStroke,
java.awt.Composite backComp,
java.awt.Stroke backStroke)
Draw gray heat map with current Graphics2D setting
|
private void |
GpxDrawHelper.drawHeatMap(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Collect and draw GPS segments and displays a heat-map
|
private void |
GpxDrawHelper.drawLines(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Draw all GPX ways segments
|
private void |
GpxDrawHelper.drawLinesAlpha(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments,
float layerAlpha)
Draw GPX lines by using alpha blending
|
private void |
GpxDrawHelper.drawPoints(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Draw all GPX points
|
Modifier and Type | Field and Description |
---|---|
private MapView |
TileCoordinateConverter.mapView |
Constructor and Description |
---|
TileCoordinateConverter(MapView mapView,
TileSource tileSource,
TileSourceDisplaySettings settings)
Create a new coordinate converter for the map view.
|
Modifier and Type | Method and Description |
---|---|
void |
MarkerLayer.paint(java.awt.Graphics2D g,
MapView mv,
Bounds box) |
void |
PlayHeadMarker.paint(java.awt.Graphics g,
MapView mv)
Paint the marker icon in the given graphics context.
|
void |
ButtonMarker.paint(java.awt.Graphics g,
MapView mv,
boolean mousePressed,
boolean showTextOrIcon) |
void |
Marker.paint(java.awt.Graphics g,
MapView mv,
boolean mousePressed,
boolean showTextOrIcon)
Paints the marker.
|
protected void |
Marker.paintIcon(MapView mv,
java.awt.Graphics g,
int x,
int y) |
Modifier and Type | Field and Description |
---|---|
private MapView |
PaintVisitor.mv
The MapView
|
Constructor and Description |
---|
PaintVisitor(java.awt.Graphics2D g,
MapView mv)
Constructor
|