Package org.vaadin.firitin.util
Class ResizeObserver.SizeChangeEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.UI>
org.vaadin.firitin.util.ResizeObserver.SizeChangeEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ResizeObserver
public static class ResizeObserver.SizeChangeEvent
extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.UI>
Event fired when the size of a component changes.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSizeChangeEvent
(com.vaadin.flow.component.UI ui, com.vaadin.flow.component.Component component, ResizeObserver.Dimensions dimensions) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.Component
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SizeChangeEvent
public SizeChangeEvent(com.vaadin.flow.component.UI ui, com.vaadin.flow.component.Component component, ResizeObserver.Dimensions dimensions)
-
-
Method Details
-
getComponent
public com.vaadin.flow.component.Component getComponent()- Returns:
- the component that was resized
-
getDimensions
- Returns:
- the new dimensions of the component
-