Uses of Class
com.vaadin.flow.component.dashboard.DashboardWidget
Packages that use DashboardWidget
-
Uses of DashboardWidget in com.vaadin.flow.component.dashboard
Methods in com.vaadin.flow.component.dashboard that return DashboardWidgetMethods in com.vaadin.flow.component.dashboard that return types with arguments of type DashboardWidgetModifier and TypeMethodDescriptionDashboard.getWidgets()Returns a flattened list of all the widgets in this dashboard.DashboardSection.getWidgets()HasWidgets.getWidgets()Returns the widgets in this component.Methods in com.vaadin.flow.component.dashboard with parameters of type DashboardWidgetModifier and TypeMethodDescriptiondefault voidHasWidgets.add(DashboardWidget... widgets) Adds the given widgets to this component.voidDashboard.addWidgetAfter(DashboardWidget referenceWidget, DashboardWidget newWidget) voidDashboardSection.addWidgetAfter(DashboardWidget referenceWidget, DashboardWidget newWidget) voidHasWidgets.addWidgetAfter(DashboardWidget referenceWidget, DashboardWidget newWidget) Adds the given widget immediately after the reference widget.voidDashboard.addWidgetAtIndex(int index, DashboardWidget widget) Adds the given widget as child of this dashboard at the specific index.voidDashboardSection.addWidgetAtIndex(int index, DashboardWidget widget) voidHasWidgets.addWidgetAtIndex(int index, DashboardWidget widget) Adds the given widget as child of this component at the specific index.voidDashboardLocator.moveWidget(DashboardWidget widget, int toIndex) Simulates a user dragging the given widget to a new position within its current container (the dashboard root, or the section it belongs to).voidDashboardTester.moveWidget(DashboardWidget widget, int toIndex) Simulates a user dragging the given widget to a new position within its current container (the dashboard root, or the section it belongs to).default voidHasWidgets.remove(DashboardWidget... widgets) Removes the given widgets from this component.voidDashboardLocator.removeWidget(DashboardWidget widget) Simulates a user removing the given widget by clicking its remove button.voidDashboardTester.removeWidget(DashboardWidget widget) Simulates a user removing the given widget by clicking its remove button.voidDashboardLocator.resizeWidget(DashboardWidget widget, int colspan, int rowspan) Simulates a user resizing the given widget to the given column and row span.voidDashboardTester.resizeWidget(DashboardWidget widget, int colspan, int rowspan) Simulates a user resizing the given widget to the given column and row span.Method parameters in com.vaadin.flow.component.dashboard with type arguments of type DashboardWidgetModifier and TypeMethodDescriptionvoidDashboard.add(Collection<DashboardWidget> widgets) voidDashboardSection.add(Collection<DashboardWidget> widgets) voidHasWidgets.add(Collection<DashboardWidget> widgets) Adds the given widgets to this component.voidDashboard.remove(Collection<DashboardWidget> widgets) voidDashboardSection.remove(Collection<DashboardWidget> widgets) voidHasWidgets.remove(Collection<DashboardWidget> widgets) Removes the given widgets from this component.Constructors in com.vaadin.flow.component.dashboard with parameters of type DashboardWidgetModifierConstructorDescriptionDashboardItemResizedEvent(Dashboard source, boolean fromClient, DashboardWidget item, List<Component> items) Creates a dashboard item resized event.