org.gwtbootstrap3.extras.slider.client.ui.base.event
Class SlideStartEvent<T>
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<SlideStartHandler<T>>
org.gwtbootstrap3.extras.slider.client.ui.base.event.SlideStartEvent<T>
- Type Parameters:
T - slider value type
public class SlideStartEvent<T>
- extends GwtEvent<SlideStartHandler<T>>
The slide start event is fired when dragging starts.
|
Constructor Summary |
protected |
SlideStartEvent(T value)
Creates a slide start event. |
SlideStartEvent
protected SlideStartEvent(T value)
- Creates a slide start event.
- Parameters:
value - the new slider value
fire
public static <T> void fire(HasSlideStartHandlers<T> source,
T value)
- Fires a slide start 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 handlersvalue - the new slider value
getType
public static GwtEvent.Type<SlideStartHandler<?>> getType()
- Gets the type associated with this event.
- Returns:
- returns the handler type
getAssociatedType
public GwtEvent.Type<SlideStartHandler<T>> getAssociatedType()
- Overrides:
getAssociatedType in class GwtEvent<SlideStartHandler<T>>
dispatch
protected void dispatch(SlideStartHandler<T> handler)
- Specified by:
dispatch in class GwtEvent<SlideStartHandler<T>>
getValue
public T getValue()
- Returns:
- the new slider value
toDebugString
public String toDebugString()
- Overrides:
toDebugString in class Event<SlideStartHandler<T>>
Copyright © 2015. All rights reserved.