Class DashboardItemResizedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Dashboard>
com.vaadin.flow.component.dashboard.DashboardItemResizedEvent
- All Implemented Interfaces:
Serializable
Fired when a widget was resized.
- Author:
- Vaadin Ltd.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardItemResizedEvent
(Dashboard source, boolean fromClient, DashboardWidget item, List<Component> items) Creates a dashboard item resized event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DashboardItemResizedEvent
public DashboardItemResizedEvent(Dashboard source, boolean fromClient, DashboardWidget item, List<Component> items) Creates a dashboard item resized event.- Parameters:
source
- Dashboard that contains the widget that was resizedfromClient
-true
if the event originated from the client side,false
otherwiseitem
- The resized widgetitems
- The root level items of the dashboard
-
-
Method Details
-
getItem
Returns the resized widget- Returns:
- the resized widget
-
getItems
Returns the root level items of the dashboard- Returns:
- the root level items of the dashboard
-