com.bramosystems.oss.player.core.event.client
Class SeekChangeEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<SeekChangeHandler>
      extended by 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 Class Summary
 
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<SeekChangeHandler> TYPE
           
 
Constructor Summary
protected SeekChangeEvent(double seekPosition)
          Creates a new seek change event
 
Method Summary
protected  void dispatch(SeekChangeHandler handler)
           
static void fire(HasSeekChangeHandlers handler, double seekPosition)
          Fires seek change event on all registered handlers
 com.google.gwt.event.shared.GwtEvent.Type<SeekChangeHandler> getAssociatedType()
           
 double getSeekPosition()
          Retrieves the new position of the seek bar
 
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
 

Field Detail

TYPE

public static com.google.gwt.event.shared.GwtEvent.Type<SeekChangeHandler> TYPE
Constructor Detail

SeekChangeEvent

protected SeekChangeEvent(double seekPosition)
Creates a new seek change event

Parameters:
seekPosition - the new position of the seek bar
Method Detail

fire

public static void fire(HasSeekChangeHandlers handler,
                        double seekPosition)
Fires seek change event on all registered handlers

Parameters:
handler - the handler of the event
seekPosition - 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.