org.davic.media
Class MediaTimePositionChangedEvent
java.lang.Object
java.util.EventObject
javax.media.ControllerEvent
javax.media.TransitionEvent
javax.media.StopEvent
javax.media.RestartingEvent
org.davic.media.MediaTimePositionChangedEvent
- All Implemented Interfaces:
- java.io.Serializable, javax.media.MediaEvent
public class MediaTimePositionChangedEvent
- extends javax.media.RestartingEvent
This event is generated whenever the media position is changed (when the invocation of the
setMediaPosition resulted in a change in the media position).
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class javax.media.StopEvent |
getMediaTime |
Methods inherited from class javax.media.TransitionEvent |
getCurrentState, getPreviousState, getTargetState |
Methods inherited from class javax.media.ControllerEvent |
getSource, getSourceController |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MediaTimePositionChangedEvent
public MediaTimePositionChangedEvent(javax.media.Controller source)
- Construct an event.
- Parameters:
source
- the controller whose media position was changed
MediaTimePositionChangedEvent
public MediaTimePositionChangedEvent(javax.media.Controller from,
int previous,
int current,
int target,
javax.media.Time mediaTime)
- Construct an event.
- Parameters:
from
- the controller whose media position was changedprevious
- the state the controller was in before this eventcurrent
- the state the controller was in at the time the event was generatedtarget
- the state that the controller is heading tomediaTime
- the media time after the change