Class EnhancedRouteTabs
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.flowingcode.vaadin.addons.enhancedtabs.EnhancedTabs>
com.flowingcode.vaadin.addons.demo.EnhancedRouteTabs
- All Implemented Interfaces:
AttachNotifier,DetachNotifier,HasElement,HasStyle,BeforeEnterObserver,BeforeEnterHandler,Serializable
public class EnhancedRouteTabs
extends Composite<com.flowingcode.vaadin.addons.enhancedtabs.EnhancedTabs>
implements BeforeEnterObserver
Extension of EnhancedTabs in order to allow to bind tabs with Routes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddLegacyTab(String label, Component content) Deprecated, for removal: This API element is subject to removal in a future version.voidbeforeEnter(BeforeEnterEvent event) Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
EnhancedRouteTabs
public EnhancedRouteTabs()
-
-
Method Details
-
add
-
beforeEnter
- Specified by:
beforeEnterin interfaceBeforeEnterHandler
-
addLegacyTab
@Deprecated(forRemoval=true, since="4.1.0") public void addLegacyTab(String label, Component content) Deprecated, for removal: This API element is subject to removal in a future version.
-