org.gwtbootstrap3.extras.slider.client.ui.base.event
Class SlideStopEvent<T>

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<SlideStopHandler<T>>
          extended by org.gwtbootstrap3.extras.slider.client.ui.base.event.SlideStopEvent<T>
Type Parameters:
T - slider value type

public class SlideStopEvent<T>
extends GwtEvent<SlideStopHandler<T>>

The slide stop event is fired when dragging stops or has been clicked on.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
protected SlideStopEvent(T value)
          Creates a slide stop event.
 
Method Summary
protected  void dispatch(SlideStopHandler<T> handler)
           
static
<T> void
fire(HasSlideStopHandlers<T> source, T value)
          Fires a slide stop event on all registered handlers in the handler manager.
 GwtEvent.Type<SlideStopHandler<T>> getAssociatedType()
           
static GwtEvent.Type<SlideStopHandler<?>> getType()
          Gets the type associated with this event.
 T getValue()
           
 String toDebugString()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlideStopEvent

protected SlideStopEvent(T value)
Creates a slide stop event.

Parameters:
value - the new slider value
Method Detail

fire

public static <T> void fire(HasSlideStopHandlers<T> source,
                            T value)
Fires a slide stop event on all registered handlers in the handler manager. If no such handlers exist, this method will do nothing.

Parameters:
source - the source of the handlers
value - the new slider value

getType

public static GwtEvent.Type<SlideStopHandler<?>> getType()
Gets the type associated with this event.

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<SlideStopHandler<T>> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<SlideStopHandler<T>>

dispatch

protected void dispatch(SlideStopHandler<T> handler)
Specified by:
dispatch in class GwtEvent<SlideStopHandler<T>>

getValue

public T getValue()
Returns:
the new slider value

toDebugString

public String toDebugString()
Overrides:
toDebugString in class Event<SlideStopHandler<T>>


Copyright © 2015. All rights reserved.