public class MediaInfoEvent extends com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
The metadata is wrapped in a MediaInfo
object
Modifier and Type | Field and Description |
---|---|
static com.google.gwt.event.shared.GwtEvent.Type<MediaInfoHandler> |
TYPE |
Modifier | Constructor and Description |
---|---|
protected |
MediaInfoEvent(MediaInfo info)
Creates a new MediaInfoEvent object
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(MediaInfoHandler handler) |
static void |
fire(HasMediaMessageHandlers source,
MediaInfo info)
Fires MediaInfoEvent on all registered handlers
|
com.google.gwt.event.shared.GwtEvent.Type<MediaInfoHandler> |
getAssociatedType() |
MediaInfo |
getMediaInfo()
Returns the metadata of the media item
|
assertLive, getSource, isLive, kill, revive
public static final com.google.gwt.event.shared.GwtEvent.Type<MediaInfoHandler> TYPE
protected MediaInfoEvent(MediaInfo info)
info
- the media metadatapublic static void fire(HasMediaMessageHandlers source, MediaInfo info)
source
- the source of the eventinfo
- the metadata of the mediapublic com.google.gwt.event.shared.GwtEvent.Type<MediaInfoHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
protected void dispatch(MediaInfoHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
public MediaInfo getMediaInfo()
Copyright © 2009-2013. All Rights Reserved.