Class Marker

All Implemented Interfaces:
java.lang.AutoCloseable

public class Marker
extends SerializableObjectWithMetadata
Holds metadata over time on a timeline
  • Constructor Details

  • Method Details

    • getColor

      public java.lang.String getColor()
      Returns:
      the color string for this marker (for example: 'RED').
    • setColor

      public void setColor​(java.lang.String color)
      Set color string for this marker (for example: 'RED'), based on the Color class.
      Parameters:
      color - String color
    • getMarkedRange

      public TimeRange getMarkedRange()
      Get range this marker applies to, relative to the Item this marker is attached to (e.g. the Clip or Track that owns this marker).
      Returns:
      TimeRange this marker applies to.
    • setMarkedRange

      public void setMarkedRange​(TimeRange markedRange)
      Set range this marker applies to, relative to the Item this marker is attached to (e.g. the Clip or Track that owns this marker).
      Parameters:
      markedRange - TimeRange this marker applies to.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class SerializableObjectWithMetadata