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:
Serializable
- Enclosing class:
Dialog
@DomEvent("dragged")
public static class Dialog.DialogDraggedEvent
extends com.vaadin.flow.component.ComponentEvent<Dialog>
`dragged` event is sent when the user finishes dragging the dialog.
- 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, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DialogDraggedEvent
-
-
Method Details
-
getLeft
Gets the left position of the dialog after dragging is done- Returns:
- the left position in pixels of the dialog
-
getTop
Gets the top position of the dialog after dragging is done- Returns:
- the top position in pixels of the dialog
-