com.google.gwt.event.dom.client
Class ProgressEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
com.google.gwt.event.dom.client.DomEvent<ProgressHandler>
com.google.gwt.event.dom.client.ProgressEvent
- All Implemented Interfaces:
- HasNativeEvent
public class ProgressEvent
- extends DomEvent<ProgressHandler>
Represents a native media progress event.
Experimental API: This API is still under development
and is subject to change.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProgressEvent
protected ProgressEvent()
- Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent,
com.google.gwt.event.shared.HasHandlers)
to fire media progress events.
getType
public static DomEvent.Type<ProgressHandler> getType()
- Gets the event type associated with media progress events.
- Returns:
- the handler type
getAssociatedType
public final DomEvent.Type<ProgressHandler> getAssociatedType()
- Description copied from class:
Event
- Returns the
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.
- Specified by:
getAssociatedType
in class DomEvent<ProgressHandler>
- Returns:
- the type
dispatch
protected void dispatch(ProgressHandler handler)
- Description copied from class:
GwtEvent
- Should only be called by
HandlerManager
. In other words, do not use
or call.
- Specified by:
dispatch
in class GwtEvent<ProgressHandler>
- Parameters:
handler
- handler