All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.media.DurationUpdateEvent

java.lang.Object
   |
   +----javax.media.ControllerEvent
           |
           +----javax.media.DurationUpdateEvent

public class DurationUpdateEvent
extends ControllerEvent
DurationUpdateEvent is posted by a Controller when its duration changes.

Version:
1.10, 97/08/23.
See Also:
Controller, ControllerListener

Constructor Index

 o DurationUpdateEvent(Controller, Time)

Method Index

 o getDuration()
Get the duration of the media that this Controller is using.

Constructors

 o DurationUpdateEvent
 public DurationUpdateEvent(Controller from,
                            Time newDuration)

Methods

 o getDuration
 public Time getDuration()
Get the duration of the media that this Controller is using.

Returns:
The duration of this Controller's media.

All Packages  Class Hierarchy  This Package  Previous  Next  Index