Interface IGpxTrack

All Superinterfaces:
IWithAttributes
All Known Implementing Classes:
GpxTrack

public interface IGpxTrack extends IWithAttributes
Gpx track. Implementations don't have to be immutable, but should always be thread safe.
Since:
15496
  • Method Details

    • getSegments

      Returns the track segments.
      Returns:
      the track segments
    • getBounds

      Returns the track bounds.
      Returns:
      the track bounds
    • length

      double length()
      Returns the track length.
      Returns:
      the track length
    • getColor

      default Color getColor()
      Gets the color of this track.
      Returns:
      The color, null if not set or not supported by the implementation.
      Since:
      15496
    • setColor

      default void setColor(Color color)
      Sets the color of this track. Not necessarily supported by all implementations.
      Parameters:
      color - color of this track
      Since:
      15496
    • addListener

      Add a listener that listens to changes in the GPX track.
      Parameters:
      l - The listener
    • removeListener

      Remove a listener that listens to changes in the GPX track.
      Parameters:
      l - The listener