XMT-O Reference Software

xmto2xmta.timegraph
Class MediaTimeContainer

java.lang.Object
  |
  +--xmto2xmta.timegraph.Container
        |
        +--xmto2xmta.timegraph.TimeContainer
              |
              +--xmto2xmta.timegraph.MediaTimeContainer
Direct Known Subclasses:
AnimationTimeContainer

public class MediaTimeContainer
extends TimeContainer

Time container that has an associated media object.

History:


Field Summary
private  java.lang.String mediaSrc
           
 
Fields inherited from class xmto2xmta.timegraph.TimeContainer
accIterationCount, accIterationDur, BEGIN, containerLife, currentInterval, curSamplingTime, dur, durType, DURTYPE_MEDIA, DURTYPE_NAME, DURTYPE_TIMEVALUE, DURTYPE_UNSPECIFIED, END, endSpecifiedDetermined, endSpecifiedResult, ENDSYNC_ALL, ENDSYNC_FIRST, ENDSYNC_ID, ENDSYNC_LAST, ENDSYNC_MEDIA, ENDSYNC_NAME, endsyncID, endsyncRule, eventDependents, fill, FILL_AUTO, FILL_DEFAULT, FILL_FREEZE, FILL_HOLD, FILL_INHERIT, FILL_NAME, FILL_REMOVE, FILL_TRANSITION, fillDefault, fillInterval, fillTime, globalToLocalTimeCache, hasStarted, implicitDur, instanceTimeList, intrinsicDur, lastActiveEnd, lifeBegin, lifeHistory, lifeInterval, max, maxType, min, MINMAX_MEDIA, MINMAX_NAME, MINMAX_TIMEVALUE, minType, naturalEnd, repeatCount, repeatCountIndefinite, repeatCountSpecified, repeatDur, repeatDurSpecified, restart, RESTART_ALWAYS, RESTART_DEFAULT, RESTART_INHERIT, RESTART_NAME, RESTART_NEVER, RESTART_WHENNOTACTIVE, restartDefault, siblingSaysNoFill, simpleDur, state, STATE_ACTIVE, STATE_DEAD, STATE_NAME, STATE_WAITING, syncbaseDependents, syncConditions
 
Fields inherited from class xmto2xmta.timegraph.Container
children, errWriter, id, parent, timeGraph, writer
 
Constructor Summary
MediaTimeContainer()
           
MediaTimeContainer(java.lang.Integer id, Container parent)
           
MediaTimeContainer(TimeGraph timeGraph, java.lang.Integer id, Container parent)
           
 
Method Summary
protected  Time computeImplicitDur()
          Compute the implicit dur of the element.
 Time computeIntrinsicDur()
           
 java.lang.String getMediaSrc()
           
 void setMediaSrc(java.lang.String mediaSrc)
           
 
Methods inherited from class xmto2xmta.timegraph.TimeContainer
addInstanceTime, beginSimpleDuration, calcActiveEnd, calcActiveEnd, changeCurInstanceTime, changeIntervalNotice, childHasEnded, clearAllEventInstanceTimes, computeActiveDur, computeActiveDur, computeIntermediateActiveDur, computeSimpleDur, convertFromAscendantToLocalTime, convertFromGlobalIntervalToLocal, convertFromGlobalToLocalTime, convertFromLocalToGlobalTime, convertLocalToAscendantTime, convertRemoteToLocalTime, deleteCurInstanceTime, deleteIntervalNotice, durSpecified, endCurInterval, endHasEventConditions, endNaturalInterval, endSimpleDuration, endSpecified, fastForwardMedia, freeze, getAccIterationCount, getAccIterationDur, getBeginConditions, getBeginInstanceTimeList, getCurrentInterval, getCurrentLocalTime, getCurrentTime, getDur, getDurType, getEndConditions, getEndInstanceTimeList, getEndsyncID, getEndsyncRule, getEventDependents, getFill, getFillDefault, getImplicitDur, getIntrinsicDur, getLifeHistory, getMax, getMaxType, getMin, getMinType, getNextActiveInterval, getNextEndTime, getRepeatCount, getRepeatDur, getRestart, getRestartDefault, getSimpleDur, getState, getSyncbaseDependents, hasResolvedBegin, hasStarted, isActiveOrDead, isRepeatCountIndefinite, isRepeatCountSpecified, isRepeatDurSpecified, newIntervalNotice, nextSamplingTime, recomputeActiveCurIntervalEndTime, recomputeNextWaitingInterval, release, removeSamplingTime, removeSyncbaseInstanceTimes, removeSyncbaseInstanceTimes, repeatCountSpecified, repeatDurSpecified, repeatSimpleDuration, reset, resyncSyncbaseInstanceTimes, sample, sendChangeIntervalNotice, sendDeleteIntervalNotice, sendNewIntervalNotice, setBeginConditions, setDur, setEndConditions, setEndsyncRule, setEndsyncRule, setEventDependents, setFill, setFillDefault, setImplicitDur, setIntrinsicDur, setMax, setMin, setRepeatCount, setRepeatCountIndefinite, setRepeatDur, setRestart, setRestartDefault, setSimpleDur, setSyncbaseDependents, startFill, startNewInterval, stop, stop, stopCurInterval, stopFill, stopFillBySibling, stopPrevSiblingFill, timeContainerHasEnded
 
Methods inherited from class xmto2xmta.timegraph.Container
addChild, children, getChildren, getCommonAscendant, getID, getNextChild, getParent, getPrevChild, getRoot, getTimeGraph, hasEvent, isAscendantOf, isCommonAscendantOf, setID, setParent, setTimeGraph
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mediaSrc

private java.lang.String mediaSrc
Constructor Detail

MediaTimeContainer

public MediaTimeContainer()

MediaTimeContainer

public MediaTimeContainer(java.lang.Integer id,
                          Container parent)

MediaTimeContainer

public MediaTimeContainer(TimeGraph timeGraph,
                          java.lang.Integer id,
                          Container parent)
Method Detail

setMediaSrc

public void setMediaSrc(java.lang.String mediaSrc)

getMediaSrc

public java.lang.String getMediaSrc()

computeIntrinsicDur

public Time computeIntrinsicDur()
Overrides:
computeIntrinsicDur in class TimeContainer

computeImplicitDur

protected Time computeImplicitDur()
Description copied from class: TimeContainer
Compute the implicit dur of the element. This is only needed when the computation of the simple dur requires the implicit dur. If the implicit dur is already resolved, just return the current value. Otherwise, calculate the value based on the endsync rule, and in the case of media time containers, the intrinsic dur is also considered.
Overrides:
computeImplicitDur in class TimeContainer

XMT-O Reference Software