-
public final class ThreePaneNavigatorThe navigator used to navigate between the different destinations in the three-pane layout.
-
-
Constructor Summary
Constructors Constructor Description ThreePaneNavigator(List<ThreePaneDestination<?>> destinations)
-
Method Summary
Modifier and Type Method Description final UnitnavigateTo(ThreePaneDestination<?> destination, Boolean replace, ThreePaneRole popUpTo)Navigates to the provided destination. final BooleancanNavigateBack()Whether the navigator can navigate back to the previous destination. final UnitnavigateBack()Navigates back to the previous destination. final UnitpopUpTo(ThreePaneRole pane)Pops up to the provided pane. -
-
Constructor Detail
-
ThreePaneNavigator
ThreePaneNavigator(List<ThreePaneDestination<?>> destinations)
- Parameters:
destinations- The list of destinations to start with.
-
-
Method Detail
-
navigateTo
final Unit navigateTo(ThreePaneDestination<?> destination, Boolean replace, ThreePaneRole popUpTo)
Navigates to the provided destination.
- Parameters:
destination- The destination to navigate to.replace- Whether to replace an existing destination with a new one of the same pane (if it exists), or add it to the stack.popUpTo- The role of the pane to pop up to before navigating to the destination.
-
canNavigateBack
final Boolean canNavigateBack()
Whether the navigator can navigate back to the previous destination.
-
navigateBack
final Unit navigateBack()
Navigates back to the previous destination.
-
popUpTo
final Unit popUpTo(ThreePaneRole pane)
Pops up to the provided pane.
-
-
-
-