javax.media.StopEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public class StopEvent extends TransitionEvent
{
private Time mediaTime;
public StopEvent(Controller from, int previous, int current, int target,
Time mediaTime)
{
super(from, previous, current, target);
this.mediaTime = mediaTime;
}
public Time getMediaTime()
{
return mediaTime;
}
@Override
public String toString()
{
return getClass().getName() + "[source=" + getSource()
+ ",previousState=" + getPreviousState() + ",currentState="
+ getCurrentState() + ",targetState=" + getTargetState()
+ ",mediaTime=" + mediaTime + "]";
}
}