@Component(value="ui_HistoryNavigator")
@Scope(value="prototype")
public class HistoryNavigator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected History |
history |
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) |
@Autowired 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)
@Nullable protected NavigationState findPreviousState(NavigationState requestedState)