com.vaadin.client.ui.window
Class WindowMoveEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<WindowMoveHandler>
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 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 |
| 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 |
WindowMoveEvent
public WindowMoveEvent(int x,
int y)
- Creates a new event with the given parameters
- Parameters:
x - The new x-position for the VWindowy - The new y-position for the VWindow
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.