org.eesgmbh.gimv.client.event
Class SetViewportPixelBoundsEvent

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

public class SetViewportPixelBoundsEvent
extends FilteredDispatchGwtEvent<SetViewportPixelBoundsEventHandler>

Sets the viewport bounds in pixels.

The viewport width and height are normally of main interest and many presenters and controls will not work without recieving it at least once.

Therefore this event must be fired during initialization or when using a fluid (resizable) design whenever a change in the viewport widget takes place.


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

SetViewportPixelBoundsEvent

public SetViewportPixelBoundsEvent(Bounds bounds,
                                   SetViewportPixelBoundsEventHandler... blockedHandlers)
Method Detail

getBounds

public Bounds getBounds()

getAssociatedType

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

onDispatch

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

Specified by:
onDispatch in class FilteredDispatchGwtEvent<SetViewportPixelBoundsEventHandler>


Copyright © 2010 - EES GmbH