org.eesgmbh.gimv.client.event
Class SetDataAreaPixelBoundsEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<H>
      extended by org.eesgmbh.gimv.client.event.FilteredDispatchGwtEvent<SetDataAreaPixelBoundsEventHandler>
          extended by org.eesgmbh.gimv.client.event.SetDataAreaPixelBoundsEvent

public class SetDataAreaPixelBoundsEvent
extends FilteredDispatchGwtEvent<SetDataAreaPixelBoundsEventHandler>

Defines a rectangle within which the actual data of an image is being displayed.

In other words, it defines the area (or plot area) to which a SetDomainBoundsEvent applies to.

Must always be fired if the data within the image does not cover the whole space of the image (eg. chart images that contain axes). Otherwise zooming and moving the image will be not be calculated accurately.

If the data area covers the whole image there is no need to fire this event.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Field Summary
static GwtEvent.Type<SetDataAreaPixelBoundsEventHandler> TYPE
           
 
Constructor Summary
SetDataAreaPixelBoundsEvent(Bounds bounds, SetDataAreaPixelBoundsEventHandler... blockedHandlers)
           
 
Method Summary
 GwtEvent.Type<SetDataAreaPixelBoundsEventHandler> getAssociatedType()
           
 Bounds getBounds()
           
protected  void onDispatch(SetDataAreaPixelBoundsEventHandler 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<SetDataAreaPixelBoundsEventHandler> TYPE
Constructor Detail

SetDataAreaPixelBoundsEvent

public SetDataAreaPixelBoundsEvent(Bounds bounds,
                                   SetDataAreaPixelBoundsEventHandler... blockedHandlers)
Parameters:
bounds - if null, no constraining bounds will be specified
blockedHandlers -
Method Detail

getBounds

public Bounds getBounds()

getAssociatedType

public GwtEvent.Type<SetDataAreaPixelBoundsEventHandler> getAssociatedType()
Specified by:
getAssociatedType in class GwtEvent<SetDataAreaPixelBoundsEventHandler>

onDispatch

protected void onDispatch(SetDataAreaPixelBoundsEventHandler handler)
Description copied from class: FilteredDispatchGwtEvent
Invoked when a handler is contained in the blockedHandlers list

Specified by:
onDispatch in class FilteredDispatchGwtEvent<SetDataAreaPixelBoundsEventHandler>


Copyright © 2010 - EES GmbH