We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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
-
-
Constructor Summary
Constructors Constructor and Description WindowMoveEvent(int x, int y)
Creates a new event with the given parameters.
-
Method Summary
All Methods Modifier and Type Method and Description 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
-
-
-
-
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 VWindowy
- 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 classcom.google.gwt.event.shared.GwtEvent<WindowMoveHandler>
-
dispatch
protected void dispatch(WindowMoveHandler handler)
Specified by:
dispatch
in classcom.google.gwt.event.shared.GwtEvent<WindowMoveHandler>
-
-