Class Interval

java.lang.Object
org.apache.batik.anim.timing.Interval

public class Interval extends Object
A class that represents an interval for a timed element.
  • Field Details

    • begin

      protected float begin
      The begin time for the interval.
    • end

      protected float end
      The end time for the interval.
    • beginInstanceTime

      protected InstanceTime beginInstanceTime
      The InstanceTime that defined the begin time of the current interval.
    • endInstanceTime

      protected InstanceTime endInstanceTime
      The InstanceTime that defined the end time of the current interval.
    • beginDependents

      protected LinkedList beginDependents
      The list of InstanceTime objects that are dependent on the begin time of this Interval.
    • endDependents

      protected LinkedList endDependents
      The list of InstanceTime objects that are dependent on the end time of this Interval.
  • Constructor Details

    • Interval

      public Interval(float begin, float end, InstanceTime beginInstanceTime, InstanceTime endInstanceTime)
      Creates a new Interval.
      Parameters:
      begin - the begin time of the Interval
      end - the end time of the Interval
      beginInstanceTime - the InstanceTime object that defined the begin time of the Interval
      endInstanceTime - the InstanceTime object that defined the end time of the Interval
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this Interval.
      Overrides:
      toString in class Object
    • getBegin

      public float getBegin()
      Returns the begin time of this interval.
    • getEnd

      public float getEnd()
      Returns the end time of this interval.
    • getBeginInstanceTime

      public InstanceTime getBeginInstanceTime()
      Returns the InstanceTime that defined the begin time of this interval.
    • getEndInstanceTime

      public InstanceTime getEndInstanceTime()
      Returns the InstanceTime that defined the end time of this interval.