org.eesgmbh.gimv.client.event
Class ViewportDragInProgressEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
org.eesgmbh.gimv.client.event.FilteredDispatchGwtEvent<ViewportDragInProgressEventHandler>
org.eesgmbh.gimv.client.event.ViewportDragInProgressEvent
public class ViewportDragInProgressEvent
- extends FilteredDispatchGwtEvent<ViewportDragInProgressEventHandler>
Indicates that a drag (i.e. the user presses the left mouse button and moves over the viewport)
is in progress.
The offset in vertical and horizontal direction is contained in the event object.
TYPE
public static GwtEvent.Type<ViewportDragInProgressEventHandler> TYPE
ViewportDragInProgressEvent
public ViewportDragInProgressEvent(int horizontalDragOffset,
int verticalDragOffset,
Bounds pixelBounds,
Bounds clientPixelBounds,
ViewportDragInProgressEventHandler... blockedHandlers)
getHorizontalDragOffset
public int getHorizontalDragOffset()
getVerticalDragOffset
public int getVerticalDragOffset()
getPixelBounds
public Bounds getPixelBounds()
getAbsolutePixelBounds
public Bounds getAbsolutePixelBounds()
getAssociatedType
public GwtEvent.Type<ViewportDragInProgressEventHandler> getAssociatedType()
- Specified by:
getAssociatedType in class GwtEvent<ViewportDragInProgressEventHandler>
onDispatch
protected void onDispatch(ViewportDragInProgressEventHandler handler)
- Description copied from class:
FilteredDispatchGwtEvent
- Invoked when a handler is contained in the blockedHandlers list
- Specified by:
onDispatch in class FilteredDispatchGwtEvent<ViewportDragInProgressEventHandler>
Copyright © 2010 - EES GmbH