@Component(value="cuba_HistoryNavigator")
@Scope(value="prototype")
public class HistoryNavigator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected History |
history |
static java.lang.String |
NAME |
protected AppUI |
ui |
protected UrlChangeHandler |
urlChangeHandler |
protected UrlTools |
urlTools |
Constructor and Description |
---|
HistoryNavigator(AppUI ui,
UrlChangeHandler urlChangeHandler) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
closeWorkAreaScreens() |
protected NavigationState |
findPreviousState(NavigationState requestedState) |
protected void |
handleHistoryBackward(NavigationState requestedState) |
protected boolean |
handleHistoryNavigation(NavigationState requestedState) |
protected void |
handleRootBackNavigation(NavigationState previousState) |
protected void |
handleScreenBackNavigation(NavigationState currentState,
NavigationState previousState) |
protected void |
proceedHistoryBackward(NavigationState requestedState) |
public static final java.lang.String NAME
@Inject protected UrlTools urlTools
protected final AppUI ui
protected final UrlChangeHandler urlChangeHandler
protected final History history
public HistoryNavigator(AppUI ui, UrlChangeHandler urlChangeHandler)
protected boolean handleHistoryNavigation(NavigationState requestedState)
protected void handleHistoryBackward(NavigationState requestedState)
protected void handleScreenBackNavigation(NavigationState currentState, NavigationState previousState)
protected void handleRootBackNavigation(NavigationState previousState)
protected boolean closeWorkAreaScreens()
protected void proceedHistoryBackward(NavigationState requestedState)
protected NavigationState findPreviousState(NavigationState requestedState)