FileDocCategorySizeDatePackage
DurationUpdateEvent.javaAPI DocJMF 2.1.1e982Mon May 12 12:20:36 BST 2003javax.media

DurationUpdateEvent

public class DurationUpdateEvent extends ControllerEvent
DurationUpdateEvent is posted by a Controller when its duration changes.
see
Controller
see
ControllerListener
version
1.2, 02/08/21.

Fields Summary
Time
duration
Constructors Summary
public DurationUpdateEvent(Controller from, Time newDuration)

	super(from);
	duration = newDuration;
    
Methods Summary
public javax.media.TimegetDuration()
Get the duration of the media that this Controller is using.

return
The duration of this Controller's media.

	return duration;
    
public java.lang.StringtoString()
Returns the String representation of this event's values.

	return getClass().getName() + "[source=" + eventSrc + 
	    ",duration=" + duration;