com.bramosystems.oss.player.core.event.client
Class SeekChangeEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<SeekChangeHandler>
com.bramosystems.oss.player.core.event.client.SeekChangeEvent
public class SeekChangeEvent
- extends com.google.gwt.event.shared.GwtEvent<SeekChangeHandler>
The event fired by MediaSeekBar widgets when the position of the
seek bar has changed.
- Author:
- Sikirulai Braheem
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
|
Constructor Summary |
protected |
SeekChangeEvent(double seekPosition)
Creates a new seek change event |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
TYPE
public static com.google.gwt.event.shared.GwtEvent.Type<SeekChangeHandler> TYPE
SeekChangeEvent
protected SeekChangeEvent(double seekPosition)
- Creates a new seek change event
- Parameters:
seekPosition - the new position of the seek bar
fire
public static void fire(HasSeekChangeHandlers handler,
double seekPosition)
- Fires seek change event on all registered handlers
- Parameters:
handler - the handler of the eventseekPosition - the new position of the seek bar
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<SeekChangeHandler> getAssociatedType()
- Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SeekChangeHandler>
dispatch
protected void dispatch(SeekChangeHandler handler)
- Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<SeekChangeHandler>
getSeekPosition
public double getSeekPosition()
- Retrieves the new position of the seek bar
- Returns:
- the new position of the seek bar
Copyright © 2009-2011. All Rights Reserved.