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