Class ValidatorDialog.ValidatorBoundingXYVisitor
java.lang.Object
org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor
org.openstreetmap.josm.gui.dialogs.ValidatorDialog.ValidatorBoundingXYVisitor
- All Implemented Interfaces:
OsmPrimitiveVisitor,PrimitiveVisitor,ValidatorVisitor
- Enclosing class:
- ValidatorDialog
public static class ValidatorDialog.ValidatorBoundingXYVisitor
extends BoundingXYVisitor
implements ValidatorVisitor
A visitor that is used to compute the bounds of an error.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVisit a list of nodes that are part of the errorvoidVisit a OSM primitive, e.g.voidvisit(WaySegment ws) Visit a way segment that was part of the errorvoidVisit a test errorMethods inherited from class org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor
computeBoundingBox, enlargeBoundingBox, enlargeBoundingBox, enlargeBoundingBoxLogarithmically, getBounds, hasExtend, toString, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
ValidatorBoundingXYVisitor
public ValidatorBoundingXYVisitor()
-
-
Method Details
-
visit
Description copied from interface:ValidatorVisitorVisit a OSM primitive, e.g. to highlight it- Specified by:
visitin interfaceValidatorVisitor- Parameters:
p- The primitive
-
visit
Description copied from interface:ValidatorVisitorVisit a way segment that was part of the error- Specified by:
visitin interfaceValidatorVisitor- Parameters:
ws- The way segment
-
visit
Description copied from interface:ValidatorVisitorVisit a list of nodes that are part of the error- Specified by:
visitin interfaceValidatorVisitor- Parameters:
nodes- The nodes
-
visit
Description copied from interface:ValidatorVisitorVisit a test error- Specified by:
visitin interfaceValidatorVisitor- Parameters:
error- The test error to visit
-