Class 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 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()
        Specified by:
        getAssociatedType in class com.google.gwt.event.shared.GwtEvent<WindowMoveHandler>