Package | Description |
---|---|
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.actions.mapmode | |
org.openstreetmap.josm.data.osm | |
org.openstreetmap.josm.data.osm.visitor.paint | |
org.openstreetmap.josm.data.validation.tests | |
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
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 | |
org.openstreetmap.josm.tools |
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)
|
Constructor and Description |
---|
NodePair(Pair<Node,Node> pair)
Constructs a new
NodePair . |
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).
|
Modifier and Type | Field and Description |
---|---|
private static Pair<java.lang.Integer,java.util.concurrent.ExecutorService> |
MultipolygonBuilder.THREAD_POOL |
Modifier and Type | Method and Description |
---|---|
private static Pair<java.lang.Boolean,java.util.List<MultipolygonBuilder.JoinedPolygon>> |
MultipolygonBuilder.findInnerWaysCandidates(MultipolygonBuilder.JoinedPolygon outerWay,
java.util.Collection<MultipolygonBuilder.JoinedPolygon> boundaryWays) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<Node,Node>> |
Way.getNodePairs(boolean sort)
Replies the ordered
List of chunks of this way. |
Modifier and Type | Field and Description |
---|---|
private static Pair<java.lang.Integer,java.util.concurrent.ExecutorService> |
StyledMapRenderer.THREAD_POOL |
Modifier and Type | Field and Description |
---|---|
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
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 |
---|---|
Pair<StyleElementList,Range> |
ElemStyles.generateStyles(OsmPrimitive osm,
double scale,
boolean pretendWayIsClosed)
Create the list of styles and its valid scale range 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.
|
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.
|
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) |
Modifier and Type | Method and Description |
---|---|
static <U,V> Pair<U,V> |
Pair.create(U u,
V v)
Convenient constructor method
|
static Pair<java.lang.Double,java.lang.Double> |
OsmUrlToBounds.getTileOfLatLon(double lat,
double lon,
double zoom) |
static Pair<java.lang.Integer,java.util.concurrent.ExecutorService> |
Utils.newThreadPool(java.lang.String pref,
java.lang.String nameFormat,
int threadPriority)
Returns a pair containing the number of threads (n), and a thread pool (if n > 1) to perform
multi-thread computation in the context of the given preference key.
|
static Pair<OsmPrimitive,java.util.Collection<OsmPrimitive>> |
ExceptionUtil.parsePreconditionFailed(java.lang.String msg) |
static <T> Pair<T,T> |
Pair.sort(Pair<T,T> p) |
Modifier and Type | Method and Description |
---|---|
static <T> Pair<T,T> |
Pair.sort(Pair<T,T> p) |
static <T> java.util.List<T> |
Pair.toList(Pair<T,T> p) |