us.zuercher.gpx2map.data
Class TrackPoint

java.lang.Object
  extended by us.zuercher.gpx2map.data.AbstractGpxEntity
      extended by us.zuercher.gpx2map.data.WayPoint
          extended by us.zuercher.gpx2map.data.TrackPoint

public class TrackPoint
extends WayPoint

TrackPoint represents a GPX track-point. Track-points are identical to way-points in every way except their type.

Author:
Stephan Zuercher

Field Summary
 
Fields inherited from class us.zuercher.gpx2map.data.WayPoint
dateTimePropertyNames, decimalPropertyNames, integerPropertyNames, stringPropertyNames
 
Fields inherited from class us.zuercher.gpx2map.data.AbstractGpxEntity
dateFormatter
 
Constructor Summary
TrackPoint(LatLon location)
          Construct a new TrackPoint with the given coordinates.
 
Method Summary
 String getType()
          Overrides WayPoint to configure type as "TRKPT".
 
Methods inherited from class us.zuercher.gpx2map.data.WayPoint
equals, equals, getDateTimePropertyNames, getDecimalPropertyNames, getIntegerPropertyNames, getLocation, getStringPropertyNames, hashCode, toExtendedString, toString
 
Methods inherited from class us.zuercher.gpx2map.data.AbstractGpxEntity
equals, getDateTimeProperty, getDecimalProperty, getIntegerProperty, getStringProperty, setDateTimeProperty, setDecimalProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrackPoint

public TrackPoint(LatLon location)
Construct a new TrackPoint with the given coordinates.

Parameters:
location - the TrackPoint's location
Method Detail

getType

public String getType()
Overrides WayPoint to configure type as "TRKPT".

Overrides:
getType in class WayPoint
Returns:
the track-point type string, "TRKPT".