Package | Description |
---|---|
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.actions.mapmode | |
org.openstreetmap.josm.command | |
org.openstreetmap.josm.data.osm | |
org.openstreetmap.josm.data.osm.visitor.paint | |
org.openstreetmap.josm.data.validation | |
org.openstreetmap.josm.data.validation.tests | |
org.openstreetmap.josm.gui | |
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
Modifier and Type | Method and Description |
---|---|
protected void |
SplitWayAction.SegmentToKeepSelectionDialog.setHighlightedWaySegments(java.util.Collection<WaySegment> segments) |
Modifier and Type | Field and Description |
---|---|
private WaySegment |
ImproveWayAccuracyAction.candidateSegment |
private WaySegment |
DeleteAction.DeleteParameters.nearestSegment |
private WaySegment |
DeleteAction.oldHighlightedWaySegment
elements that have been highlighted in the previous iteration.
|
private WaySegment |
ParallelWayAction.referenceSegment |
private WaySegment |
ExtrudeAction.selectedSegment |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<WaySegment> |
SelectAction.VirtualManager.virtualWays |
Modifier and Type | Method and Description |
---|---|
static WaySegment |
ImproveWayAccuracyHelper.findCandidateSegment(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest way segment to cursor.
|
Modifier and Type | Method and Description |
---|---|
private void |
DeleteAction.repaintIfRequired(java.util.Set<OsmPrimitive> newHighlights,
WaySegment newHighlightedWaySegment) |
void |
DrawAction.SnapHelper.setBaseSegment(WaySegment seg) |
Modifier and Type | Method and Description |
---|---|
private void |
DrawAction.insertNodeIntoAllNearbySegments(java.util.List<WaySegment> wss,
Node n,
java.util.Collection<OsmPrimitive> newSelection,
java.util.Collection<Command> cmds,
java.util.List<Way> replacedWays,
java.util.List<Way> reuseWays) |
private void |
DrawAction.tryToMoveNodeOnIntersection(java.util.List<WaySegment> wss,
Node n) |
Modifier and Type | Method and Description |
---|---|
static Command |
DeleteCommand.deleteWaySegment(OsmDataLayer layer,
WaySegment ws) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<WaySegment> |
DataSet.highlightedVirtualNodes |
private java.util.Collection<WaySegment> |
DataSet.highlightedWaySegments |
Modifier and Type | Method and Description |
---|---|
static WaySegment |
WaySegment.forNodePair(Way way,
Node first,
Node second)
Determines and returns the way segment for the given way and node pair.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<WaySegment> |
DataSet.getHighlightedVirtualNodes()
Returns an unmodifiable collection of *WaySegments* whose virtual
nodes should be highlighted.
|
java.util.Collection<WaySegment> |
DataSet.getHighlightedWaySegments()
Returns an unmodifiable collection of WaySegments that should be highlighted.
|
Modifier and Type | Method and Description |
---|---|
int |
WaySegment.compareTo(WaySegment o) |
boolean |
WaySegment.intersects(WaySegment s2)
Checks whether this segment crosses other segment
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.setHighlightedVirtualNodes(java.util.Collection<WaySegment> waySegments)
set what virtual nodes should be highlighted.
|
void |
DataSet.setHighlightedWaySegments(java.util.Collection<WaySegment> waySegments)
set what virtual ways should be highlighted.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<WaySegment> |
StyledMapRenderer.highlightWaySegments |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorVisitor.visit(WaySegment ws) |
void |
PaintVisitor.visit(WaySegment ws) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> |
CrossingWays.cellSegments
All way segments, grouped by cells
|
private java.util.Set<WaySegment> |
CrossingWays.errorSegments
The already detected errors
|
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
private java.util.Map<java.util.List<Way>,java.util.List<WaySegment>> |
CrossingWays.seenWays
The already detected ways in error
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Set<WaySegment> |
OverlappingWays.checkDuplicateWaySegment(Way w) |
java.util.List<java.util.List<WaySegment>> |
CrossingWays.getSegments(EastNorth n1,
EastNorth n2)
Returns all the cells this segment crosses.
|
Modifier and Type | Method and Description |
---|---|
WaySegment |
NavigatableComponent.getNearestWaySegment(java.awt.Point p,
Predicate<OsmPrimitive> predicate)
Convenience method to
NavigatableComponent.getNearestWaySegment(Point, Predicate, boolean) . |
WaySegment |
NavigatableComponent.getNearestWaySegment(java.awt.Point p,
Predicate<OsmPrimitive> predicate,
boolean useSelected)
The *result* depends on the current map selection state IF use_selected is true.
|
WaySegment |
NavigatableComponent.getNearestWaySegment(java.awt.Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected,
java.util.Collection<OsmPrimitive> preferredRefs)
The *result* depends on the current map selection state IF use_selected is true.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WaySegment> |
NavigatableComponent.getNearestWaySegments(java.awt.Point p,
java.util.Collection<WaySegment> ignore,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
java.util.List<WaySegment> |
NavigatableComponent.getNearestWaySegments(java.awt.Point p,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
private java.util.Map<java.lang.Double,java.util.List<WaySegment>> |
NavigatableComponent.getNearestWaySegmentsImpl(java.awt.Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WaySegment> |
NavigatableComponent.getNearestWaySegments(java.awt.Point p,
java.util.Collection<WaySegment> ignore,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidatorDialog.ValidatorBoundingXYVisitor.visit(WaySegment ws) |