com.sage.swt.client.portal.communication
Class ResizePortalEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<ResizePortalHandler>
          extended by com.sage.swt.client.portal.communication.ResizePortalEvent

public class ResizePortalEvent
extends com.google.gwt.event.shared.GwtEvent<ResizePortalHandler>

Fired when the event source is resized.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
protected ResizePortalEvent(java.lang.String width)
          Construct a new ResizePortalEvent.
 
Method Summary
protected  void dispatch(ResizePortalHandler handler)
          
static
<S extends HasResizePortalHandlers & com.google.gwt.event.shared.HasHandlers>
void
fire(S source, java.lang.String width)
          Fires a resize portal event on all registered handlers in the handler source.
 com.google.gwt.event.shared.GwtEvent.Type<ResizePortalHandler> getAssociatedType()
          
static com.google.gwt.event.shared.GwtEvent.Type<ResizePortalHandler> getType()
          Ensures the existence of the handler hook and then returns it.
 java.lang.String getWidth()
          Returns the portal's new width
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResizePortalEvent

protected ResizePortalEvent(java.lang.String width)
Construct a new ResizePortalEvent.

Parameters:
width - The portal's new width
Method Detail

fire

public static <S extends HasResizePortalHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source,
                                                                                                     java.lang.String width)
Fires a resize portal event on all registered handlers in the handler source.

Type Parameters:
S - The handler source
Parameters:
source - the source of the handlers
width - The portal's new width

getType

public static com.google.gwt.event.shared.GwtEvent.Type<ResizePortalHandler> getType()
Ensures the existence of the handler hook and then returns it.

Returns:
returns a handler hook

getAssociatedType

public final com.google.gwt.event.shared.GwtEvent.Type<ResizePortalHandler> getAssociatedType()

Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ResizePortalHandler>

getWidth

public java.lang.String getWidth()
Returns the portal's new width

Returns:
the portal's new width

dispatch

protected void dispatch(ResizePortalHandler handler)

Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<ResizePortalHandler>


Copyright © 2011 Sage Software, Inc. All rights reserved.