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(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 Collection<WaySegment> |
SelectAction.VirtualManager.virtualWays |
Modifier and Type | Method and Description |
---|---|
static WaySegment |
ImproveWayAccuracyHelper.findCandidateSegment(MapView mv,
Way w,
Point p)
Returns the nearest way segment to cursor.
|
Modifier and Type | Method and Description |
---|---|
private void |
DeleteAction.repaintIfRequired(Set<OsmPrimitive> newHighlights,
WaySegment newHighlightedWaySegment) |
void |
DrawAction.SnapHelper.setBaseSegment(WaySegment seg) |
Modifier and Type | Method and Description |
---|---|
private void |
DrawAction.insertNodeIntoAllNearbySegments(List<WaySegment> wss,
Node n,
Collection<OsmPrimitive> newSelection,
Collection<Command> cmds,
List<Way> replacedWays,
List<Way> reuseWays) |
private void |
DrawAction.tryToMoveNodeOnIntersection(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 Collection<WaySegment> |
DataSet.highlightedVirtualNodes |
private 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 |
---|---|
Collection<WaySegment> |
DataSet.getHighlightedVirtualNodes()
Returns an unmodifiable collection of *WaySegments* whose virtual
nodes should be highlighted.
|
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(Collection<WaySegment> waySegments)
set what virtual nodes should be highlighted.
|
void |
DataSet.setHighlightedWaySegments(Collection<WaySegment> waySegments)
set what virtual ways should be highlighted.
|
Modifier and Type | Field and Description |
---|---|
private Collection<WaySegment> |
StyledMapRenderer.highlightWaySegments |
Modifier and Type | Method and Description |
---|---|
void |
PaintVisitor.visit(WaySegment ws) |
void |
ValidatorVisitor.visit(WaySegment ws) |
Modifier and Type | Field and Description |
---|---|
private Map<Point2D,List<WaySegment>> |
CrossingWays.cellSegments
All way segments, grouped by cells
|
private Set<WaySegment> |
CrossingWays.errorSegments
The already detected errors
|
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
private Map<List<Way>,List<WaySegment>> |
CrossingWays.seenWays
The already detected ways in error
|
Modifier and Type | Method and Description |
---|---|
protected static Set<WaySegment> |
OverlappingWays.checkDuplicateWaySegment(Way w) |
List<List<WaySegment>> |
CrossingWays.getSegments(EastNorth n1,
EastNorth n2)
Returns all the cells this segment crosses.
|
Modifier and Type | Method and Description |
---|---|
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate)
Convenience method to
NavigatableComponent.getNearestWaySegment(Point, Predicate, boolean) . |
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate,
boolean useSelected)
The *result* depends on the current map selection state IF use_selected is true.
|
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected,
Collection<OsmPrimitive> preferredRefs)
The *result* depends on the current map selection state IF use_selected is true.
|
Modifier and Type | Method and Description |
---|---|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Collection<WaySegment> ignore,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
private Map<Double,List<WaySegment>> |
NavigatableComponent.getNearestWaySegmentsImpl(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 |
---|---|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
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) |