org.eesgmbh.gimv.client.event
Class ViewportDragInProgressEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<H>
      extended by org.eesgmbh.gimv.client.event.FilteredDispatchGwtEvent<ViewportDragInProgressEventHandler>
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Field Summary
static GwtEvent.Type<ViewportDragInProgressEventHandler> TYPE
           
 
Constructor Summary
ViewportDragInProgressEvent(int horizontalDragOffset, int verticalDragOffset, Bounds pixelBounds, Bounds clientPixelBounds, ViewportDragInProgressEventHandler... blockedHandlers)
           
 
Method Summary
 Bounds getAbsolutePixelBounds()
           
 GwtEvent.Type<ViewportDragInProgressEventHandler> getAssociatedType()
           
 int getHorizontalDragOffset()
           
 Bounds getPixelBounds()
           
 int getVerticalDragOffset()
           
protected  void onDispatch(ViewportDragInProgressEventHandler handler)
          Invoked when a handler is contained in the blockedHandlers list
 
Methods inherited from class org.eesgmbh.gimv.client.event.FilteredDispatchGwtEvent
dispatch, getBlockedHandlers, isBlockedHandler
 
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 GwtEvent.Type<ViewportDragInProgressEventHandler> TYPE
Constructor Detail

ViewportDragInProgressEvent

public ViewportDragInProgressEvent(int horizontalDragOffset,
                                   int verticalDragOffset,
                                   Bounds pixelBounds,
                                   Bounds clientPixelBounds,
                                   ViewportDragInProgressEventHandler... blockedHandlers)
Method Detail

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