com.bramosystems.oss.player.core.event.client
Class PlayerStateEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
com.bramosystems.oss.player.core.event.client.PlayerStateEvent
public class PlayerStateEvent
- extends com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
The event fired when the state of the player changes
- Author:
- Sikirulai Braheem
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<PlayerStateHandler> TYPE
PlayerStateEvent
protected PlayerStateEvent(PlayerStateEvent.State state)
- Creates a new player state event
- Parameters:
state
- the new state
fire
public static void fire(HasPlayStateHandlers source,
PlayerStateEvent.State state)
- Fires player state event on all registered handlers
- Parameters:
source
- the source the eventstate
- the new player state
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<PlayerStateHandler> getAssociatedType()
- Specified by:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
dispatch
protected void dispatch(PlayerStateHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<PlayerStateHandler>
getPlayerState
public PlayerStateEvent.State getPlayerState()
- Retrieves the new player state
- Returns:
- the new player state
Copyright © 2009-2011. All Rights Reserved.