Uses of Class
org.openstreetmap.josm.gui.MapView
-
Packages that use MapView Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap 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 geotagged 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. -
-
Uses of MapView in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions with parameters of type MapView Modifier and Type Method Description private EastNorth
MoveAction. getOffset(MapView mapView)
Find out how many "real" units the objects have to be moved in order to achieve an 1-pixel movement -
Uses of MapView in org.openstreetmap.josm.actions.mapmode
Fields in org.openstreetmap.josm.actions.mapmode declared as MapView Modifier and Type Field Description private MapView
ImproveWayAccuracyAction. mv
private MapView
ParallelWayAction. mv
private MapView
SelectAction. mv
The component this SelectAction is associated with.Methods in org.openstreetmap.josm.actions.mapmode with parameters of type MapView Modifier and Type Method Description private void
SplitMode. addNodeAndSplit(MapView mv, java.awt.Point mousePos, Way way)
Add a node to a way and then split itprotected 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
DrawAction. paint(java.awt.Graphics2D g, MapView mv, Bounds box)
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)
private void
DrawAction. paintConstructionGeometry(MapView mv, java.awt.Graphics2D g2)
-
Uses of MapView in org.openstreetmap.josm.gui
Fields in org.openstreetmap.josm.gui declared as MapView Modifier and Type Field Description MapView
MapFrame. mapView
The view control displayed.private MapView
MapSlider. mv
private MapView
MapStatus. mv
The MapView this status belongs to.Methods in org.openstreetmap.josm.gui with parameters of type MapView Modifier and Type Method Description static java.util.List<? extends javax.swing.JComponent>
MapView. getMapNavigationComponents(MapView forMapView)
Adds the map navigation components to avoid
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.Constructors in org.openstreetmap.josm.gui with parameters of type MapView Constructor Description MapSlider(MapView mv)
-
Uses of MapView in org.openstreetmap.josm.gui.draw
Constructors in org.openstreetmap.josm.gui.draw with parameters of type MapView Constructor Description MapViewPath(MapView mv)
Create a new path -
Uses of MapView in org.openstreetmap.josm.gui.layer
Fields in org.openstreetmap.josm.gui.layer declared as MapView Modifier and Type Field Description private MapView
MapViewGraphics. mapView
private MapView
MapViewPaintable.MapViewEvent. mapView
Methods in org.openstreetmap.josm.gui.layer that return MapView Modifier and Type Method Description MapView
MapViewGraphics. getMapView()
Gets theMapView
that is the base to this draw call.MapView
MapViewPaintable.MapViewEvent. getMapView()
Gets the map view.Methods in org.openstreetmap.josm.gui.layer with parameters of type MapView Modifier and Type Method 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
AbstractTileSourceLayer. paint(java.awt.Graphics2D g, MapView mv, Bounds bounds)
void
GpxLayer. paint(java.awt.Graphics2D g, MapView mv, Bounds bbox)
void
GpxRouteLayer. paint(java.awt.Graphics2D g, MapView mv, Bounds bbox)
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
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
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).private void
OsmDataLayer. paintData(java.awt.Graphics2D g, MapView mv, Bounds box, boolean inactive, boolean virtual)
private void
OsmDataLayer. paintHatch(java.awt.Graphics2D g, MapView mv, boolean active)
private void
NoteLayer. paintSelectedNote(java.awt.Graphics2D g, MapView mv, int iconHeight, int iconWidth, Note selectedNote)
Constructors in org.openstreetmap.josm.gui.layer with parameters of type MapView Constructor Description MapViewEvent(MapView mapView, boolean temporaryLayer)
Create a newMapViewPaintable.MapViewEvent
MapViewGraphics(MapView mapView, java.awt.Graphics2D graphics, MapViewState.MapViewRectangle clipBounds)
Constructs a newMapViewGraphics
. -
Uses of MapView in org.openstreetmap.josm.gui.layer.geoimage
Methods in org.openstreetmap.josm.gui.layer.geoimage with parameters of type MapView Modifier and Type Method 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. -
Uses of MapView in org.openstreetmap.josm.gui.layer.gpx
Methods in org.openstreetmap.josm.gui.layer.gpx with parameters of type MapView Modifier and Type Method Description void
GpxDrawHelper. drawAll(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments, Bounds clipBounds)
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 arraysprivate void
GpxDrawHelper. drawArrows3b(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3b - DRAW NICE ARROWS **************************private void
GpxDrawHelper. drawArrows3c(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3c - DRAW FAST ARROWS **************************private void
GpxDrawHelper. drawCircle(java.awt.Graphics2D g, MapView mv, WayPoint trkPnt, java.awt.Point screen, float circleSize)
void
GpxDrawHelper. drawColorBar(java.awt.Graphics2D g, MapView mv)
Draw all GPX arraysprivate static void
GpxDrawHelper. drawHeatGrayDotMap(java.awt.Graphics2D gB, MapView mv, java.util.List<WayPoint> listSegm, int drawSize)
Draw a dotted heat mapprivate 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 settingprivate void
GpxDrawHelper. drawHeatMap(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Collect and draw GPS segments and displays a heat-mapprivate void
GpxDrawHelper. drawLines(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Draw all GPX ways segmentsprivate void
GpxDrawHelper. drawLinesAlpha(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments, float layerAlpha)
Draw GPX lines by using alpha blendingprivate void
GpxDrawHelper. drawPoints(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Draw all GPX pointsprivate void
GpxDrawHelper. drawPointsStep3d(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3d - DRAW LARGE POINTS AND CIRCLES ***********private void
GpxDrawHelper. drawPointsStep3e(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3e - DRAW SMALL POINTS FOR LINES ***************private void
GpxDrawHelper. drawPointsStep3f(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3f - DRAW SMALL POINTS INSTEAD OF LINES ******** -
Uses of MapView in org.openstreetmap.josm.gui.layer.imagery
Fields in org.openstreetmap.josm.gui.layer.imagery declared as MapView Modifier and Type Field Description private MapView
TileCoordinateConverter. mapView
Methods in org.openstreetmap.josm.gui.layer.imagery with parameters of type MapView Modifier and Type Method Description void
MVTLayer. paint(java.awt.Graphics2D g, MapView mv, Bounds box)
Constructors in org.openstreetmap.josm.gui.layer.imagery with parameters of type MapView Constructor Description TileCoordinateConverter(MapView mapView, org.openstreetmap.gui.jmapviewer.interfaces.TileSource tileSource, TileSourceDisplaySettings settings)
Create a new coordinate converter for the map view. -
Uses of MapView in org.openstreetmap.josm.gui.layer.markerlayer
Fields in org.openstreetmap.josm.gui.layer.markerlayer declared as MapView Modifier and Type Field Description private MapView
MarkerLayer. mapView
Methods in org.openstreetmap.josm.gui.layer.markerlayer with parameters of type MapView Modifier and Type Method Description void
ButtonMarker. paint(java.awt.Graphics2D g, MapView mv, boolean mousePressed, boolean showTextOrIcon)
void
Marker. paint(java.awt.Graphics2D g, MapView mv, boolean mousePressed, boolean showTextOrIcon)
Paints the marker.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.protected void
Marker. paintIcon(MapView mv, java.awt.Graphics g, int x, int y)
-
Uses of MapView in org.openstreetmap.josm.gui.layer.validation
Fields in org.openstreetmap.josm.gui.layer.validation declared as MapView Modifier and Type Field Description private MapView
PaintVisitor. mv
The MapViewConstructors in org.openstreetmap.josm.gui.layer.validation with parameters of type MapView Constructor Description PaintVisitor(java.awt.Graphics2D g, MapView mv)
Constructor
-