public class PlayerStateEvent extends com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
Modifier and Type | Class and Description |
---|---|
static class |
PlayerStateEvent.State
An enum of media player states
|
Modifier and Type | Field and Description |
---|---|
static com.google.gwt.event.shared.GwtEvent.Type<PlayerStateHandler> |
TYPE |
Modifier | Constructor and Description |
---|---|
protected |
PlayerStateEvent(PlayerStateEvent.State state)
Creates a new player state event
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(PlayerStateHandler handler) |
static void |
fire(HasPlayStateHandlers source,
PlayerStateEvent.State state)
Fires player state event on all registered handlers
|
com.google.gwt.event.shared.GwtEvent.Type<PlayerStateHandler> |
getAssociatedType() |
PlayerStateEvent.State |
getPlayerState()
Retrieves the new player state
|
assertLive, getSource, isLive, kill, revive
public static final com.google.gwt.event.shared.GwtEvent.Type<PlayerStateHandler> TYPE
protected PlayerStateEvent(PlayerStateEvent.State state)
state
- the new statepublic static void fire(HasPlayStateHandlers source, PlayerStateEvent.State state)
source
- the source the eventstate
- the new player statepublic com.google.gwt.event.shared.GwtEvent.Type<PlayerStateHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
protected void dispatch(PlayerStateHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
public PlayerStateEvent.State getPlayerState()
Copyright © 2009-2013. All Rights Reserved.