Class SyncbaseTimingSpecifier


public class SyncbaseTimingSpecifier extends OffsetTimingSpecifier
A class to handle syncbase SMIL timing specifiers.
Version:
$Id: SyncbaseTimingSpecifier.java 1802297 2017-07-18 13:58:12Z ssteiner $
  • Field Details

    • syncbaseID

      protected String syncbaseID
      The ID of the syncbase element.
    • syncbaseElement

      protected TimedElement syncbaseElement
      The syncbase element.
    • syncBegin

      protected boolean syncBegin
      Whether this specifier specifies a sync to the begin or the end of the syncbase element.
    • instances

      protected HashMap instances
      Map of Intervals to an InstanceTime.
  • Constructor Details

    • SyncbaseTimingSpecifier

      public SyncbaseTimingSpecifier(TimedElement owner, boolean isBegin, float offset, String syncbaseID, boolean syncBegin)
      Creates a new SyncbaseTimingSpecifier object.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this timing specifier.
      Overrides:
      toString in class OffsetTimingSpecifier
    • initialize

      public void initialize()
      Initializes this timing specifier by adding the initial instance time to the owner's instance time list or setting up any event listeners.
      Overrides:
      initialize in class OffsetTimingSpecifier
    • isEventCondition

      public boolean isEventCondition()
      Returns whether this timing specifier is event-like (i.e., if it is an eventbase, accesskey or a repeat timing specifier).
      Overrides:
      isEventCondition in class OffsetTimingSpecifier
    • newInterval

      float newInterval(Interval interval)
      Called by the timebase element when it creates a new Interval.
      Overrides:
      newInterval in class TimingSpecifier
    • removeInterval

      float removeInterval(Interval interval)
      Called by the timebase element when it deletes an Interval.
      Overrides:
      removeInterval in class TimingSpecifier
    • handleTimebaseUpdate

      float handleTimebaseUpdate(InstanceTime instanceTime, float newTime)
      Called by an InstanceTime created by this TimingSpecifier to indicate that its value has changed.
      Overrides:
      handleTimebaseUpdate in class TimingSpecifier