| java.lang.Object com.sun.perseus.model.SMILSample
SMILSample | public class SMILSample implements Runnable(Code) | | SMILSample is the root of the SMIL Timing engine operation.
This class simply samples the time graph at the current time where the
current time is controlled by a Clock abstraction.
version: $Id: SMILSample.java,v 1.2 2006/04/21 06:38:28 st125089 Exp $ |
Inner Class :public static interface Clock | |
Inner Class :public static class DocumentWallClock implements Clock | |
Constructor Summary | |
public | SMILSample(DocumentNode doc, Clock clock) Builds a new time graph sampler which samples the time graph
at the current real-world time.
Parameters: doc - the document, root of the time graph to sample. |
Method Summary | |
public void | run() Runnable implementation. |
clock | protected Clock clock(Code) | | The clock used by this sampler to define the current document time.
|
currentTime | protected Time currentTime(Code) | | The time at which we are currently sampling.
|
SMILSample | public SMILSample(DocumentNode doc, Clock clock)(Code) | | Builds a new time graph sampler which samples the time graph
at the current real-world time.
Parameters: doc - the document, root of the time graph to sample. Should notbe null. The DocumentNode's timeContainerRootSupport should notbe null either. Parameters: clock - the clock used to provide the current time. Should not be null. |
run | public void run()(Code) | | Runnable implementation.
|
|
|