Package 

Class Segment


  • @Immutable() 
    public final class Segment
    
                        

    A class to hold information about a segment.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Segment.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
      private final Float start
      private final Color color
    • Constructor Summary

      Constructors 
      Constructor Description
      Segment(String name, Float start, Color color)
    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Float getStart()
      final Color getColor()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Segment

        Segment(String name, Float start, Color color)
        Parameters:
        name - name of the segment
        start - the value at which this segment should start in the track.
        color - the color of the segment