public class NavigationStateRenderer extends AbstractNavigationStateRenderer
For internal use only. May be renamed or removed in a future release.
NavigationState,
Route,
Serialized Form| Constructor and Description |
|---|
NavigationStateRenderer(NavigationState navigationState)
Constructs a new NavigationStateRenderer that handles the given
navigation state.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
eventActionsSupported()
Checks whether this renderer should reroute or postpone navigation based
on results from event listeners.
|
protected List<Class<? extends RouterLayout>> |
getRouterLayoutTypes(Class<? extends Component> targetType,
Router router)
Gets the router layout types to show for the given route target type,
starting from the parent layout immediately wrapping the route target
type.
|
protected void |
notifyNavigationTarget(Component componentInstance,
NavigationEvent navigationEvent,
BeforeEnterEvent beforeEnterEvent,
LocationChangeEvent locationChangeEvent)
Notify the navigation target about the status of the navigation.
|
getNavigationState, handle, purgeInactiveUIPreservedChainCachepublic NavigationStateRenderer(NavigationState navigationState)
navigationState - the navigation state handled by this instanceprotected List<Class<? extends RouterLayout>> getRouterLayoutTypes(Class<? extends Component> targetType, Router router)
AbstractNavigationStateRenderergetRouterLayoutTypes in class AbstractNavigationStateRenderertargetType - component type that will be shownrouter - used router instanceRouterLayout types, not
nullprotected void notifyNavigationTarget(Component componentInstance, NavigationEvent navigationEvent, BeforeEnterEvent beforeEnterEvent, LocationChangeEvent locationChangeEvent)
AbstractNavigationStateRenderernotifyNavigationTarget in class AbstractNavigationStateRenderercomponentInstance - the navigation target instancenavigationEvent - the low level navigation event that is being processedbeforeEnterEvent - the before enter event that will be fired unless navigation is
reroutedlocationChangeEvent - the location change event that will be fired unless navigation
is reroutedprotected boolean eventActionsSupported()
AbstractNavigationStateRenderereventActionsSupported in class AbstractNavigationStateRenderertrue to support event actions; false
otherwise.Copyright © 2025. All rights reserved.