Package 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 Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Constructor Summary
Constructors Constructor Description WindowMoveEvent(int x, int y)
Creates a new event with the given parameters
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(WindowMoveHandler handler)
com.google.gwt.event.shared.GwtEvent.Type<WindowMoveHandler>
getAssociatedType()
int
getNewX()
Gets the new x position of the windowint
getNewY()
Gets the new y position of the windowstatic 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
-
-
-
-
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()
- Specified by:
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>
-
-