Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map modes . |
org.openstreetmap.josm.data.gpx |
Provides the classes for JOSM
GPX data (points, tracks, routes). |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.projection.proj |
Provides the classes for JOSM map projections implementations.
|
org.openstreetmap.josm.data.validation.tests |
Provides the classes for JOSM data validation tests.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.history |
Provides GUI classes for handling history of OSM objects.
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
org.openstreetmap.josm.gui.layer.geoimage |
Provides classes for handling layers displaying geottaged pictures.
|
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. |
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
org.openstreetmap.josm.io.auth |
Provides the classes for authentication I/O.
|
org.openstreetmap.josm.io.remotecontrol.handler |
Provides the classes for remote control handlers (features exposed to the browser).
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Method and Description |
---|---|
static Pair<Way,Command> |
CombineWayAction.combineWaysWorker(java.util.Collection<Way> ways)
Combine multiple ways into one.
|
static Pair<SequenceCommand,Relation> |
CreateMultipolygonAction.createMultipolygonCommand(java.util.Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.createMultipolygonRelation(java.util.Collection<Way> selectedWays,
boolean showNotif)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(java.util.Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
Modifier and Type | Method and Description |
---|---|
private static void |
DrawAction.adjustNode(java.util.Collection<Pair<Node,Node>> segs,
Node n)
Adjusts the position of a node to lie on a segment (or a segment intersection).
|
private static void |
DrawAction.adjustNodeDefault(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private static void |
DrawAction.adjustNodeTwoSegments(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
Modifier and Type | Method and Description |
---|---|
Pair<GpxTimezone,GpxTimeOffset> |
GpxTimeOffset.splitOutTimezone()
Split out timezone and offset.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Pair<MultipolygonBuilder.JoinedPolygon,MultipolygonBuilder.JoinedPolygon>,Geometry.PolygonIntersection> |
MultipolygonBuilder.IntersectionMatrix.results |
Modifier and Type | Method and Description |
---|---|
private static Pair<java.lang.Boolean,java.util.List<MultipolygonBuilder.JoinedPolygon>> |
MultipolygonBuilder.findInnerWaysCandidates(MultipolygonBuilder.IntersectionMatrix cache,
MultipolygonBuilder.JoinedPolygon outerWay,
java.util.Collection<MultipolygonBuilder.JoinedPolygon> boundaryWays) |
static Pair<java.util.List<MultipolygonBuilder.JoinedPolygon>,java.util.List<MultipolygonBuilder.JoinedPolygon>> |
MultipolygonBuilder.joinWays(Relation multipolygon)
Joins the given
multipolygon to a pair of outer and inner multipolygon rings. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<java.lang.Double,Node>> |
Way.getAngles()
Returns angles of vertices.
|
java.util.List<Pair<Node,Node>> |
Way.getNodePairs(boolean sort)
Replies the ordered
List of chunks of this way. |
Constructor and Description |
---|
NodePair(Pair<Node,Node> pair)
Constructs a new
NodePair . |
Modifier and Type | Method and Description |
---|---|
static Pair<java.lang.Integer,TransverseMercator.Hemisphere> |
TransverseMercator.locateUtmZone(LatLon ll)
Determines the UTM zone of a given lat/lon.
|
Modifier and Type | Field and Description |
---|---|
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Pair<MapMover.ZoomerAction,Shortcut>> |
MapMover.registeredShortcuts |
Modifier and Type | Method and Description |
---|---|
protected Pair<LatLon,LatLon> |
CoordinateInfoViewer.Updater.getCoordinates() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractUploadTask.handleUploadPreconditionFailedConflict(OsmApiException e,
Pair<OsmPrimitive,java.util.Collection<OsmPrimitive>> conflict)
Handles the case where deleting a node failed because it is still in use in
a non-deleted way on the server.
|
Modifier and Type | Method and Description |
---|---|
(package private) static Pair<GpxTimezone,GpxTimeOffset> |
CorrelateGpxWithImages.autoGuess(java.util.List<ImageEntry> imgs,
GpxData gpx)
Tries to auto-guess the timezone and offset.
|
Modifier and Type | Method and Description |
---|---|
Pair<StyleElementList,Range> |
ElemStyles.generateStyles(IPrimitive osm,
double scale,
boolean pretendWayIsClosed)
Create the list of styles and its valid scale range for one primitive.
|
private Pair<StyleElementList,Range> |
ElemStyles.getImpl(IPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
ElemStyles.getStyleCacheWithRange(IPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<T,Range> |
DividedScale.getWithRange(double scale)
Looks up the data object for a certain scale value and additionally returns
the scale range where the object is valid.
|
Pair<StyleElementList,Range> |
StyleCache.getWithRange(double scale,
boolean selected)
Get the style for a specific style.
|
Constructor and Description |
---|
GeneralSelector(java.lang.String base,
Pair<java.lang.Integer,java.lang.Integer> zoom,
java.util.List<Condition> conds,
Subpart subpart) |
OptimizedGeneralSelector(java.lang.String base,
Pair<java.lang.Integer,java.lang.Integer> zoom,
java.util.List<Condition> conds,
Subpart subpart) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Pair<javax.swing.Action,Shortcut>> |
DisableShortcutsOnFocusGainedTextField.unregisteredActionShortcuts |
Modifier and Type | Method and Description |
---|---|
private Pair<java.lang.String,java.io.InputStream> |
CachedFile.findZipEntryImpl(java.lang.String extension,
java.lang.String namepart) |
static Pair<DataSet,NoteData> |
OsmChangeReader.parseDataSetAndNotes(java.io.InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset and notes, if any (OsmAnd extends the osmChange format by adding notes).
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Pair<java.lang.String,java.net.Authenticator.RequestorType>> |
DefaultAuthenticator.failedCredentials |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Pair<java.lang.String,java.lang.String>> |
RequestHandler.PermissionCache.allowed |
Modifier and Type | Method and Description |
---|---|
static <U,V> Pair<U,V> |
Pair.create(U u,
V v)
Convenient constructor method
|
static Pair<OsmPrimitive,java.util.Collection<OsmPrimitive>> |
ExceptionUtil.parsePreconditionFailed(java.lang.String msg)
Parses a precondition failure response from the server and attempts to get more information about it
|
static <T> Pair<T,T> |
Pair.sort(Pair<T,T> p)
Sorts a single-typed pair so
a <= b . |
Modifier and Type | Method and Description |
---|---|
static <T> Pair<T,T> |
Pair.sort(Pair<T,T> p)
Sorts a single-typed pair so
a <= b . |