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