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.flow.component.dialog.
Package com.vaadin.flow.component.dialog
Class Dialog.DialogDraggedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Dialog>
com.vaadin.flow.component.dialog.Dialog.DialogDraggedEvent
All Implemented Interfaces:
Enclosing class:
`dragged` event is sent when the user finishes dragging the overlay.
See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionDialogDraggedEvent
(Dialog source, boolean fromClient, String left, String top) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DialogDraggedEvent
public DialogDraggedEvent(Dialog source, boolean fromClient, @EventData("event.detail.left") String left, @EventData("event.detail.top") String top)
-
-
Method Details
-
getLeft
Gets the left position of the overlay after dragging is done
Returns:
the left position in pixels of the overlay
-
getTop
Gets the top position of the overlay after dragging is done
Returns:
the top position in pixels of the overlay
-