FileDocCategorySizeDatePackage
StopEvent.javaAPI DocJMF 2.1.1e1396Mon May 12 12:20:38 BST 2003javax.media

StopEvent

public class StopEvent extends TransitionEvent
StopEvent is a ControllerEvent that indicates that a Controller has stopped.
see
Controller
see
ControllerListener
version
1.2, 02/08/21

Fields Summary
private Time
mediaTime
Constructors Summary
public StopEvent(Controller from, int previous, int current, int target, Time mediaTime)

param
from The Controller that generated this event.
param
mediaTime The media time at which the Controller stopped.

	super(from, previous, current, target);
	this.mediaTime = mediaTime;
    
Methods Summary
public javax.media.TimegetMediaTime()
Get the clock time (media time) that was passed into the constructor.

return
The mediaTime at which the Controller stopped.

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

	return getClass().getName() + "[source=" + eventSrc + 
	    ",previous=" + stateName(previousState) + 
	    ",current=" + stateName(currentState) +
	    ",target=" + stateName(targetState) + 
	    ",mediaTime=" + mediaTime +
	    "]";