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, rerouteToError
toString
public 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 null
trigger
- the type of user action that triggered this location change,
not null
location
- the new location, not null
navigationTarget
- navigation target classui
- the UI related to the navigationCopyright © 2018. All rights reserved.