Class NavTypeChangedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AppNavLayout>
org.vaadin.addons.joelpop.appnavlayout.ui.layout.appnav.NavTypeChangedEvent
- All Implemented Interfaces:
Serializable
Fired whenever
AppNavLayout determines and applies a NavType — including on
first attachment, not just on later changes.- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNavTypeChangedEvent(AppNavLayout source, NavType navType, NavType previousNavType) -
Method Summary
Modifier and TypeMethodDescriptionThe newly applied nav type.The nav type previously in effect, ornullon first attachment.booleanReturnstrueif this is the first nav type ever applied to this layout.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class EventObject
toString
-
Constructor Details
-
Method Details
-
isInitialApplication
public boolean isInitialApplication()Returnstrueif this is the first nav type ever applied to this layout.