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