|Constructor and Description|
Construct event from a NavigationEvent.
Constructs a new BeforeNavigation Event.
getErrorParameter, getLocation, getNavigationTarget, getRerouteTarget, getRouteTargetType, getSource, getTrigger, getUI, hasErrorParameter, hasRerouteTarget, rerouteTo, rerouteTo, rerouteTo, rerouteTo, rerouteTo, rerouteTo, rerouteToError, rerouteToError, rerouteToError
public BeforeEnterEvent(NavigationEvent event, Class<?> navigationTarget)
event- NavigationEvent that is on going
navigationTarget- Navigation target
public BeforeEnterEvent(Router router, NavigationTrigger trigger, Location location, Class<?> navigationTarget, UI ui)
router- the router that triggered the change, not
trigger- the type of user action that triggered this location change, not
location- the new location, not
navigationTarget- navigation target class
ui- the UI related to the navigation
Copyright © 2018. All rights reserved.