We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.dashboard.
Class DashboardItemRemovedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Dashboard>
com.vaadin.flow.component.dashboard.DashboardItemRemovedEvent
All Implemented Interfaces:
Fired when an item was removed.
Author:
Vaadin Ltd.
See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardItemRemovedEvent
(Dashboard source, boolean fromClient, Component item, List<Component> items) Creates a dashboard item removed 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
-
DashboardItemRemovedEvent
public DashboardItemRemovedEvent(Dashboard source, boolean fromClient, Component item, List<Component> items) Creates a dashboard item removed event.
Parameters:
source
- Dashboard that contains the item that was removedfromClient
-true
if the event originated from the client side,false
otherwiseitem
- The removed itemitems
- The root level items of the dashboard
-
-
Method Details
-
getItem
Returns the removed item
Returns:
the removed item
-
getItems
Returns the root level items of the dashboard
Returns:
the root level items of the dashboard
-