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(Collection<Way> ways)
Combine multiple ways into one.
|
static Pair<SequenceCommand,Relation> |
CreateMultipolygonAction.createMultipolygonCommand(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.createMultipolygonRelation(Collection<Way> selectedWays,
boolean showNotif)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(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(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<Integer,ExecutorService> |
MultipolygonBuilder.THREAD_POOL |
Modifier and Type | Method and Description |
---|---|
private static Pair<Boolean,List<MultipolygonBuilder.JoinedPolygon>> |
MultipolygonBuilder.findInnerWaysCandidates(MultipolygonBuilder.JoinedPolygon outerWay,
Collection<MultipolygonBuilder.JoinedPolygon> boundaryWays) |
Modifier and Type | Method and Description |
---|---|
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<Integer,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,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(String base,
Pair<Integer,Integer> zoom,
List<Condition> conds,
Subpart subpart) |
OptimizedGeneralSelector(String base,
Pair<Integer,Integer> zoom,
List<Condition> conds,
Subpart subpart) |
Modifier and Type | Field and Description |
---|---|
private List<Pair<Action,Shortcut>> |
DisableShortcutsOnFocusGainedTextField.unregisteredActionShortcuts |
Modifier and Type | Method and Description |
---|---|
private Pair<String,InputStream> |
CachedFile.findZipEntryImpl(String extension,
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<Double,Double> |
OsmUrlToBounds.getTileOfLatLon(double lat,
double lon,
double zoom) |
static Pair<Integer,ExecutorService> |
Utils.newThreadPool(String pref,
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,Collection<OsmPrimitive>> |
ExceptionUtil.parsePreconditionFailed(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> List<T> |
Pair.toList(Pair<T,T> p) |