public class TrackData
extends java.lang.Object
Track
.
This information is obtained from the basic data included in the source file
of the track (a GPX file), plus a lot of derived information, such as
distance, speed, elevation gain, maximun, minimun and average values.Type | Property and Description |
---|---|
javafx.beans.property.IntegerProperty |
averageCadence
Average pace at which the activity was performed.
|
javafx.beans.property.IntegerProperty |
averageHeartrate
Average heart rate, specified as beats per minute (bpm)
|
javafx.beans.property.IntegerProperty |
averageHeight
Average elevation at which the activity took place
|
javafx.beans.property.DoubleProperty |
averageSpeed
Average speed for the entire activity, specified in meters per second
|
javafx.beans.property.ObjectProperty<java.time.LocalDateTime> |
endTime
Date and time when the activity ended
|
javafx.beans.property.IntegerProperty |
maxCadence
Maximum cadence achieved during the activity
|
javafx.beans.property.IntegerProperty |
maxHeartrate
Maximum heart rate reached during the activity
|
javafx.beans.property.IntegerProperty |
maxHeight
Maximum elevation reached during the activity
|
javafx.beans.property.DoubleProperty |
maxSpeed
Maximum speed reached during the activity
|
javafx.beans.property.IntegerProperty |
minHeartRate
Minimum heart rate reached during the activity
|
javafx.beans.property.IntegerProperty |
minHeight
Minimum elevation reached during the activity
|
javafx.beans.property.ObjectProperty<java.time.Duration> |
movingTime
Total moving time accumulated during the entire activity.
|
javafx.beans.property.IntegerProperty |
numPoints
Total number of waypoints in the activity
|
javafx.beans.property.ObjectProperty<java.time.LocalDateTime> |
startTime
Date and time when the activity was initiated
|
javafx.beans.property.DoubleProperty |
totalAscent
Accumulated increment of altitud that occurred along the entire activity
|
javafx.beans.property.DoubleProperty |
totalDescend
Accumulated decrement of altitud that occurred along the entire activity
|
javafx.beans.property.DoubleProperty |
totalDistance
Total distance traversed during the realization of the activity
|
javafx.beans.property.ObjectProperty<java.time.Duration> |
totalDuration
Total time passed between the start and the end of the activity
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.IntegerProperty |
averageCadenceProperty()
Average pace at which the activity was performed.
|
javafx.beans.property.IntegerProperty |
averageHeartrateProperty()
Average heart rate, specified as beats per minute (bpm)
|
javafx.beans.property.IntegerProperty |
averageHeightProperty()
Average elevation at which the activity took place
|
javafx.beans.property.DoubleProperty |
averageSpeedProperty()
Average speed for the entire activity, specified in meters per second
|
javafx.beans.property.ObjectProperty<java.time.LocalDateTime> |
endTimeProperty()
Date and time when the activity ended
|
int |
getAverageCadence()
Gets the average pace at which the activity was performed.
|
int |
getAverageHeartrate()
Gets the average frequency of heart beats per minute
|
int |
getAverageHeight()
Gets the average elevation at which the activity took place
|
double |
getAverageSpeed()
Gets the average speed for the entire activity
|
javafx.collections.ObservableList<Chunk> |
getChunks() |
java.time.LocalDateTime |
getEndTime()
Gets the date and time when the activity ended
|
int |
getMaxCadence()
Gets the maximum cadence achieved during the activity
|
int |
getMaxHeartrate()
Gets the maximum heart rate achieved during the activity
|
int |
getMaxHeight()
Gests the maximal elevation achieved for the entire activity
|
double |
getMaxSpeed()
Gets the maximum speed reached during the activity
|
int |
getMinHeartRate()
Gets the minimum heart rate achieved during the activity
|
int |
getMinHeight()
Gets the minimal elevation
|
java.time.Duration |
getMovingTime()
Gets the total moving time accumulated during the entire activity.
|
int |
getNumPoints()
Gets the value of the property numPoints.
|
java.time.LocalDateTime |
getStartTime()
*
Gets the date and time when the activity was initiated
|
double |
getTotalAscent()
Gets the accumulated increment of height for the entire activity
|
double |
getTotalDescend()
Gets the accumulated decrement of height for the entire activity
|
double |
getTotalDistance()
Gets the total distance traversed during the realization of the activity
|
java.time.Duration |
getTotalDuration()
Gets the total time passed between the start and the end of the activity
|
javafx.beans.property.IntegerProperty |
maxCadenceProperty()
Maximum cadence achieved during the activity
|
javafx.beans.property.IntegerProperty |
maxHeartrateProperty()
Maximum heart rate reached during the activity
|
javafx.beans.property.IntegerProperty |
maxHeightProperty()
Maximum elevation reached during the activity
|
javafx.beans.property.DoubleProperty |
maxSpeedProperty()
Maximum speed reached during the activity
|
javafx.beans.property.IntegerProperty |
minHeartRateProperty()
Minimum heart rate reached during the activity
|
javafx.beans.property.IntegerProperty |
minHeightProperty()
Minimum elevation reached during the activity
|
javafx.beans.property.ObjectProperty<java.time.Duration> |
movingTimeProperty()
Total moving time accumulated during the entire activity.
|
javafx.beans.property.IntegerProperty |
numPointsProperty()
Total number of waypoints in the activity
|
javafx.beans.property.ObjectProperty<java.time.LocalDateTime> |
startTimeProperty()
Date and time when the activity was initiated
|
java.lang.String |
toString() |
javafx.beans.property.DoubleProperty |
totalAscentProperty()
Accumulated increment of altitud that occurred along the entire activity
|
javafx.beans.property.DoubleProperty |
totalDescendProperty()
Accumulated decrement of altitud that occurred along the entire activity
|
javafx.beans.property.DoubleProperty |
totalDistanceProperty()
Total distance traversed during the realization of the activity
|
javafx.beans.property.ObjectProperty<java.time.Duration> |
totalDurationProperty()
Total time passed between the start and the end of the activity
|
public javafx.beans.property.ObjectProperty<java.time.LocalDateTime> startTimeProperty
getStartTime()
public javafx.beans.property.ObjectProperty<java.time.LocalDateTime> endTimeProperty
getEndTime()
public javafx.beans.property.ObjectProperty<java.time.Duration> totalDurationProperty
getTotalDuration()
public javafx.beans.property.DoubleProperty totalDistanceProperty
getTotalDistance()
public javafx.beans.property.DoubleProperty totalAscentProperty
getTotalAscent()
public javafx.beans.property.DoubleProperty totalDescendProperty
getTotalDescend()
public javafx.beans.property.IntegerProperty averageHeightProperty
getAverageHeight()
public javafx.beans.property.IntegerProperty minHeightProperty
getMinHeight()
public javafx.beans.property.IntegerProperty maxHeightProperty
getMaxHeight()
public javafx.beans.property.DoubleProperty averageSpeedProperty
getAverageSpeed()
public javafx.beans.property.DoubleProperty maxSpeedProperty
getMaxSpeed()
public javafx.beans.property.ObjectProperty<java.time.Duration> movingTimeProperty
getMovingTime()
public javafx.beans.property.IntegerProperty averageCadenceProperty
getAverageCadence()
public javafx.beans.property.IntegerProperty maxCadenceProperty
getMaxCadence()
public javafx.beans.property.IntegerProperty averageHeartrateProperty
getAverageHeartrate()
public javafx.beans.property.IntegerProperty minHeartRateProperty
getMinHeartRate()
public javafx.beans.property.IntegerProperty maxHeartrateProperty
getMaxHeartrate()
public javafx.beans.property.IntegerProperty numPointsProperty
getNumPoints()
public TrackData(Track track)
public java.time.LocalDateTime getStartTime()
public javafx.beans.property.ObjectProperty<java.time.LocalDateTime> startTimeProperty()
getStartTime()
public java.time.LocalDateTime getEndTime()
public javafx.beans.property.ObjectProperty<java.time.LocalDateTime> endTimeProperty()
getEndTime()
public java.time.Duration getTotalDuration()
Duration}
public javafx.beans.property.ObjectProperty<java.time.Duration> totalDurationProperty()
getTotalDuration()
public double getTotalDistance()
public javafx.beans.property.DoubleProperty totalDistanceProperty()
getTotalDistance()
public double getTotalAscent()
public javafx.beans.property.DoubleProperty totalAscentProperty()
getTotalAscent()
public double getTotalDescend()
public javafx.beans.property.DoubleProperty totalDescendProperty()
getTotalDescend()
public int getAverageHeight()
public javafx.beans.property.IntegerProperty averageHeightProperty()
getAverageHeight()
public int getMinHeight()
public javafx.beans.property.IntegerProperty minHeightProperty()
getMinHeight()
public int getMaxHeight()
public javafx.beans.property.IntegerProperty maxHeightProperty()
getMaxHeight()
public double getAverageSpeed()
public javafx.beans.property.DoubleProperty averageSpeedProperty()
getAverageSpeed()
public double getMaxSpeed()
public javafx.beans.property.DoubleProperty maxSpeedProperty()
getMaxSpeed()
public java.time.Duration getMovingTime()
public javafx.beans.property.ObjectProperty<java.time.Duration> movingTimeProperty()
getMovingTime()
public int getAverageCadence()
public javafx.beans.property.IntegerProperty averageCadenceProperty()
getAverageCadence()
public int getMaxCadence()
public javafx.beans.property.IntegerProperty maxCadenceProperty()
getMaxCadence()
public int getAverageHeartrate()
public javafx.beans.property.IntegerProperty averageHeartrateProperty()
getAverageHeartrate()
public int getMinHeartRate()
public javafx.beans.property.IntegerProperty minHeartRateProperty()
getMinHeartRate()
public javafx.collections.ObservableList<Chunk> getChunks()
public int getMaxHeartrate()
public javafx.beans.property.IntegerProperty maxHeartrateProperty()
getMaxHeartrate()
public int getNumPoints()
public javafx.beans.property.IntegerProperty numPointsProperty()
getNumPoints()
public java.lang.String toString()
toString
in class java.lang.Object