com.bramosystems.oss.player.core.event.client
Class DebugEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<DebugHandler>
com.bramosystems.oss.player.core.event.client.DebugEvent
public class DebugEvent
- extends com.google.gwt.event.shared.GwtEvent<DebugHandler>
The event fired to convey different types of messages.
- Author:
- Sikirulai Braheem
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
Field Summary |
static com.google.gwt.event.shared.GwtEvent.Type<DebugHandler> |
TYPE
|
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<DebugHandler> TYPE
DebugEvent
protected DebugEvent(DebugEvent.MessageType type,
java.lang.String message)
- Contructs a new DebugEvent object
- Parameters:
type
- the type of messagemessage
- the message
fire
public static void fire(HasMediaMessageHandlers source,
DebugEvent.MessageType type,
java.lang.String message)
- Fires DebugEvent on all registered handlers
- Parameters:
source
- the source of the eventtype
- the type of messagemessage
- the message
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<DebugHandler> getAssociatedType()
- Specified by:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<DebugHandler>
dispatch
protected void dispatch(DebugHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<DebugHandler>
getMessageType
public DebugEvent.MessageType getMessageType()
- Returns the type of message associated with the event
- Returns:
- the type of message
getMessage
public java.lang.String getMessage()
- Returns the message associated with the event
- Returns:
- the message
Copyright © 2009-2011. All Rights Reserved.