com.vaadin.flow.component.dashboard.

Class DashboardItemResizedEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Dashboard>
com.vaadin.flow.component.dashboard.DashboardItemResizedEvent

All Implemented Interfaces:

Serializable

public class DashboardItemResizedEvent extends ComponentEvent<Dashboard>

Fired when a widget was resized.

Author:

Vaadin Ltd.

See Also:

  • 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 resized

      fromClient - true if the event originated from the client side, false otherwise

      item - The resized widget

      items - The root level items of the dashboard

  • Method Details

    • getItem

      public DashboardWidget getItem()

      Returns the resized widget

      Returns:

      the resized widget

    • getItems

      public List<Component> getItems()

      Returns the root level items of the dashboard

      Returns:

      the root level items of the dashboard