Class TabbedViewsContainer.TabsCollectionChangeEvent<C extends com.vaadin.flow.component.Component & TabbedViewsContainer<C>>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<C>
io.jmix.tabbedmode.component.workarea.TabbedViewsContainer.TabsCollectionChangeEvent<C>
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- TabbedViewsContainer<C extends com.vaadin.flow.component.Component & TabbedViewsContainer<C>>
public static class TabbedViewsContainer.TabsCollectionChangeEvent<C extends com.vaadin.flow.component.Component & TabbedViewsContainer<C>>
extends com.vaadin.flow.component.ComponentEvent<C>
An event that is fired every time tabs collection is changed.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Collection<? extends com.vaadin.flow.component.tabs.Tab>
protected final TabbedViewsContainer.TabsCollectionChangeType
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionTabsCollectionChangeEvent
(C source, boolean fromClient, TabbedViewsContainer.TabsCollectionChangeType changeType, Collection<? extends com.vaadin.flow.component.tabs.Tab> changes) Creates a new tabs collection change event. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
changeType
-
changes
-
-
Constructor Details
-
TabsCollectionChangeEvent
public TabsCollectionChangeEvent(C source, boolean fromClient, TabbedViewsContainer.TabsCollectionChangeType changeType, Collection<? extends com.vaadin.flow.component.tabs.Tab> changes) Creates a new tabs collection change event.- Parameters:
source
- the source componentfromClient
-true
for client-side events,false
otherwisechangeType
- the type of changechanges
- changed tabs
-
-
Method Details
-
getChangeType
- Returns:
- the type of change
-
getChanges
- Returns:
- changed tabs
-