com.vaadin.client.ui.window
Class WindowMoveEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<WindowMoveHandler>
          extended by com.vaadin.client.ui.window.WindowMoveEvent

public class WindowMoveEvent
extends com.google.gwt.event.shared.GwtEvent<WindowMoveHandler>

Event for window position updates

Since:
7.1.9
Author:
Vaadin Ltd

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
WindowMoveEvent(int x, int y)
          Creates a new event with the given parameters
 
Method Summary
protected  void dispatch(WindowMoveHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<WindowMoveHandler> getAssociatedType()
           
 int getNewX()
          Gets the new x position of the window
 int getNewY()
          Gets the new y position of the window
static com.google.gwt.event.shared.GwtEvent.Type<WindowMoveHandler> getType()
          Gets the type of the event
 
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

WindowMoveEvent

public WindowMoveEvent(int x,
                       int y)
Creates a new event with the given parameters

Parameters:
x - The new x-position for the VWindow
y - The new y-position for the VWindow
Method Detail

getNewX

public int getNewX()
Gets the new x position of the window

Returns:
the new X position of the VWindow

getNewY

public int getNewY()
Gets the new y position of the window

Returns:
the new Y position of the VWindow

getType

public static com.google.gwt.event.shared.GwtEvent.Type<WindowMoveHandler> getType()
Gets the type of the event

Returns:
the type of the event

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<WindowMoveHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<WindowMoveHandler>

dispatch

protected void dispatch(WindowMoveHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<WindowMoveHandler>


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.