Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

Uses of Class
javax.media.Time

Packages that use Time
javax.media   
javax.media.protocol   
 

Uses of Time in javax.media
 

Fields in javax.media declared as Time
static Time Duration.DURATION_UNBOUNDED
          Returned by getDuration.
static Time Duration.DURATION_UNKNOWN
          Returned by getDuration.
static Time Controller.LATENCY_UNKNOWN
          Returned by getStartLatency.
static Time Clock.RESET
          Returned by getStopTime if the stop-time is unset.
 

Methods in javax.media that return Time
 Time TimeBase.getTime()
          Get the current time of this TimeBase.
 Time StopEvent.getMediaTime()
          Get the clock time (media time) that was passed into the constructor.
 Time StopTimeChangeEvent.getStopTime()
          Get the new stop-time for the Controller that generated this event.
 Time StartEvent.getMediaTime()
          Get the clock time (media time) when the Controller started.
 Time StartEvent.getTimeBaseTime()
          Get the time-base time that started the Controller.
 Time MediaTimeSetEvent.getMediaTime()
          Get the new media time of the Controller that generated this event.
 Time DurationUpdateEvent.getDuration()
          Get the duration of the media that this Controller is using.
 Time Duration.getDuration()
          Get the duration of the media represented by this object.
 Time Controller.getStartLatency()
          Get the Controller's start latency in nanoseconds.
 Time Clock.getStopTime()
          Get the last value successfully set by setStopTime.
 Time Clock.getMediaTime()
          Get this Clock's current media time.
 Time Clock.getSyncTime()
          Get the current media time or the time until this Clock will synchronize to its TimeBase.
 Time Clock.mapToTimeBase(Time t)
          Get the TimeBase time corresponding to the specified media time.
 

Methods in javax.media with parameters of type Time
 void Clock.syncStart(Time at)
          Synchronize the current media time to the specified time-base time and start the Clock.
 void Clock.setStopTime(Time stopTime)
          Set the media time at which you want the Clock to stop.
 void Clock.setMediaTime(Time now)
          Set the Clock's media time.
 Time Clock.mapToTimeBase(Time t)
          Get the TimeBase time corresponding to the specified media time.
 

Constructors in javax.media with parameters of type Time
StopEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
StopTimeChangeEvent(Controller from, Time newStopTime)
           
StopByRequestEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
RestartingEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
StopAtTimeEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
StartEvent(Controller from, int previous, int current, int target, Time mediaTime, Time tbTime)
          Construct a new StartEvent.
MediaTimeSetEvent(Controller from, Time newMediaTime)
           
DeallocateEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
DurationUpdateEvent(Controller from, Time newDuration)
           
DataStarvedEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
EndOfMediaEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
 

Uses of Time in javax.media.protocol
 

Methods in javax.media.protocol that return Time
 Time Positionable.setPosition(Time where, int rounding)
          Set the position to the specified time.
 Time URLDataSource.getDuration()
          Returns Duration.DURATION_UNKNOWN.
 

Methods in javax.media.protocol with parameters of type Time
 Time Positionable.setPosition(Time where, int rounding)
          Set the position to the specified time.
 


JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.