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

public class NavTypeChangedEvent extends com.vaadin.flow.component.ComponentEvent<AppNavLayout>
Fired whenever AppNavLayout determines and applies a NavType — including on first attachment, not just on later changes.
See Also:
  • Constructor Details

  • Method Details

    • getNavType

      public NavType getNavType()
      The newly applied nav type.
    • getPreviousNavType

      public NavType getPreviousNavType()
      The nav type previously in effect, or null on first attachment.
    • isInitialApplication

      public boolean isInitialApplication()
      Returns true if this is the first nav type ever applied to this layout.