GpxTrack
instead!@Deprecated public class ImmutableGpxTrack extends GpxTrack
GpxTrack.GpxTrackChangeEvent, GpxTrack.GpxTrackChangeListener
GpxConstants.ColorFormat
attr
EXTENSION_ABBREVIATIONS, FIX_VALUES, GARMIN_COLORS, GPX_CMT, GPX_DESC, GPX_NAME, GPX_PREFIX, GPX_SRC, META_AUTHOR_EMAIL, META_AUTHOR_LINK, META_AUTHOR_NAME, META_BOUNDS, META_COPYRIGHT_AUTHOR, META_COPYRIGHT_LICENSE, META_COPYRIGHT_YEAR, META_DESC, META_KEYWORDS, META_LINKS, META_NAME, META_PREFIX, META_TIME, PT_AGEOFDGPSDATA, PT_DGPSID, PT_ELE, PT_FIX, PT_GEOIDHEIGHT, PT_HDOP, PT_MAGVAR, PT_PDOP, PT_SAT, PT_SYM, PT_TIME, PT_TYPE, PT_VDOP, RTE_TRK_KEYS, RTKLIB_AGE, RTKLIB_Q, RTKLIB_RATIO, RTKLIB_SDE, RTKLIB_SDEU, RTKLIB_SDN, RTKLIB_SDNE, RTKLIB_SDU, RTKLIB_SDUN, WPT_KEYS, XML_URI_EXTENSIONS_DRAWING, XML_URI_EXTENSIONS_GARMIN, XML_URI_EXTENSIONS_JOSM, XML_URI_XSD, XML_XSD_EXTENSIONS_DRAWING, XML_XSD_EXTENSIONS_GARMIN, XML_XSD_EXTENSIONS_JOSM
Constructor and Description |
---|
ImmutableGpxTrack(java.util.Collection<java.util.Collection<WayPoint>> trackSegs,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Deprecated.
Constructs a new
ImmutableGpxTrack . |
ImmutableGpxTrack(java.util.List<IGpxTrackSegment> segments,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Deprecated.
Constructs a new
ImmutableGpxTrack from GpxTrackSegment objects. |
addListener, convertColor, equals, getBounds, getColor, getSegments, hashCode, invalidate, length, put, removeListener, setColor
get, getAttributes, getCollection, getExtensions, getString
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
get, getAttributes, getCollection, getExtensions, getString
getExtensionAbbreviations, getGarminColors
public ImmutableGpxTrack(java.util.Collection<java.util.Collection<WayPoint>> trackSegs, java.util.Map<java.lang.String,java.lang.Object> attributes)
ImmutableGpxTrack
.trackSegs
- track segmentsattributes
- track attributespublic ImmutableGpxTrack(java.util.List<IGpxTrackSegment> segments, java.util.Map<java.lang.String,java.lang.Object> attributes)
ImmutableGpxTrack
from GpxTrackSegment
objects.segments
- The segments to build the track from. Input is not deep-copied,
which means the caller may reuse the same segments to build
multiple ImmutableGpxTrack instances from. This should not be
a problem, since this object cannot modify this.segments
.attributes
- Attributes for the GpxTrack, the input map is copied.