Class InspectPrimitiveDataText
java.lang.Object
org.openstreetmap.josm.gui.dialogs.InspectPrimitiveDataText
Textual representation of primitive contents, used in
InspectPrimitiveDialog.- Since:
- 10198
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate InspectPrimitiveDataText(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) voidvoidAdds a new OSM primitive.(package private) void(package private) voidaddRelationMembers(IRelation<?> r) (package private) void(package private) void(package private) void(package private) voidaddWayNodes(IWay<?> w) private static StringgetNameAndId(String name, long id) toString()private static StringtoStringCSV(boolean projected, ILatLon... coordinates) Returns the coordinates in human-readable format.
-
Field Details
-
INDENT
- See Also:
-
NL
- See Also:
-
s
-
ds
-
-
Constructor Details
-
InspectPrimitiveDataText
InspectPrimitiveDataText(OsmData<?, ?, ?, ?> ds)
-
-
Method Details
-
add
-
getNameAndId
-
addPrimitive
Adds a new OSM primitive.- Parameters:
o- primitive to add
-
addHeadline
-
addType
-
addNameAndId
-
addState
-
addCommon
-
addAttributes
-
addSpecial
-
addRelationMembers
-
addWayNodes
-
addBbox
-
addCoordinates
-
addReferrers
-
addConflicts
-
toStringCSV
Returns the coordinates in human-readable format.- Parameters:
projected- whether to use projected coordinatescoordinates- the coordinates to format- Returns:
- String in the format
"1.23456, 2.34567"
-
toString
-