javax.media.StartEvent 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
The newest version!
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public class StartEvent extends TransitionEvent
{
private Time mediaTime;
private Time timeBaseTime;
public StartEvent(Controller from, int previous, int current, int target,
Time mediaTime, Time tbTime)
{
super(from, previous, current, target);
this.mediaTime = mediaTime;
this.timeBaseTime = tbTime;
}
public Time getMediaTime()
{
return mediaTime;
}
public Time getTimeBaseTime()
{
return timeBaseTime;
}
@Override
public String toString()
{
return getClass().getName() + "[source=" + getSource()
+ ",previousState=" + getPreviousState() + ",currentState="
+ getCurrentState() + ",targetState=" + getTargetState()
+ ",mediaTime=" + mediaTime + ",timeBaseTime=" + timeBaseTime
+ "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy