| java.lang.Object com.sun.perseus.model.TimeInstance com.sun.perseus.model.IntervalTimeInstance
IntervalTimeInstance | final class IntervalTimeInstance extends TimeInstance (Code) | | This specialized TimeInstance is created by
SyncBaseCondition time conditions.
IntervalTimeInstance instances can be notified
of updates by the TimeCondition which created it.
This update can result on a Time update on the
instance depending on context.
See Also:
* SMIL 2 Timing: Propagating changes to time version: $Id: IntervalTimeInstance.java,v 1.3 2006/06/29 10:47:32 ln156897 Exp $
|
Method Summary | |
void | dispose() Invoke when this instance is no longer in a begin or end instance list,
i.e., when it is removed from one of these lists. | void | onIntervalUpdate() Must be called by the TimeInterval 's begin
or end time this instance depends on changes. | void | syncTime() Used to synchronize this instance's time with its syncBase time. |
isBeginSync | boolean isBeginSync(Code) | | Controls whether the instance synchronizes on begin or end
|
offset | long offset(Code) | | Offset from the interval sync base.
|
IntervalTimeInstance | IntervalTimeInstance(TimedElementSupport timedElement, TimedElementSupport syncBase, long offset, boolean clearOnReset, boolean isBegin, boolean isBeginSync)(Code) | | Builds an instance time for the input TimedElementSupport
and time. The constructor will insert the instance
automatically into the TimeInterval 's corresponding
dependent list
Parameters: timedElement - the associated TimedElementSupport . Should not be null. Parameters: syncBase - the TimedElementSupport this time instancesynchronizes with. Parameters: offset - this instance offset from the synch base. Parameters: clearOnReset - defines whether or not this instance shouldbe cleared from instance times lists on reset. Parameters: isBegin - true if this object is part of the timedElement's begin instance list. Parameters: isBeginSync - true if this instance is synchronized on the interval's begin time. False if this instance is synchronized on the interval's end time. |
dispose | void dispose()(Code) | | Invoke when this instance is no longer in a begin or end instance list,
i.e., when it is removed from one of these lists.
|
onIntervalUpdate | void onIntervalUpdate()(Code) | | Must be called by the TimeInterval 's begin
or end time this instance depends on changes.
This method update this time instance with a new
time, accounting for the offset from the sync base.
|
syncTime | void syncTime()(Code) | | Used to synchronize this instance's time with its syncBase time. This is
used when resetting timed elements.
|
Methods inherited from com.sun.perseus.model.TimeInstance | void setTime(Time newTime)(Code)(Java Doc)
|
|
|