public class ErrorNavigationEvent extends NavigationEvent
source
Constructor and Description |
---|
ErrorNavigationEvent(Router router,
Location location,
UI ui,
NavigationTrigger trigger,
ErrorParameter<?> errorParameter)
Creates a new navigation event.
|
ErrorNavigationEvent(Router router,
Location location,
UI ui,
NavigationTrigger trigger,
ErrorParameter<?> errorParameter,
elemental.json.JsonValue state)
Creates a new navigation event.
|
Modifier and Type | Method and Description |
---|---|
ErrorParameter<?> |
getErrorParameter()
Gets the ErrorParameter if set.
|
getLocation, getSource, getState, getTrigger, getUI, isForwardTo
toString
public ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter)
router
- the router handling the navigation, not null
location
- the new location, not null
ui
- the UI in which the navigation occurs, not null
trigger
- the type of user action that triggered this navigation event,
not null
errorParameter
- parameter containing navigation error informationpublic ErrorNavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger, ErrorParameter<?> errorParameter, elemental.json.JsonValue state)
router
- the router handling the navigation, not null
location
- the new location, not null
ui
- the UI in which the navigation occurs, not null
trigger
- the type of user action that triggered this navigation event,
not null
errorParameter
- parameter containing navigation error informationstate
- includes navigation state info including for example the
scroll position and the complete href of the RouterLinkpublic ErrorParameter<?> getErrorParameter()
Copyright © 2020. All rights reserved.