org.eesgmbh.gimv.client.event
Class SetDataAreaPixelBoundsEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
org.eesgmbh.gimv.client.event.FilteredDispatchGwtEvent<SetDataAreaPixelBoundsEventHandler>
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.
TYPE
public static GwtEvent.Type<SetDataAreaPixelBoundsEventHandler> TYPE
SetDataAreaPixelBoundsEvent
public SetDataAreaPixelBoundsEvent(Bounds bounds,
SetDataAreaPixelBoundsEventHandler... blockedHandlers)
- Parameters:
bounds - if null, no constraining bounds will be specifiedblockedHandlers -
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