Package io.github.mmm.ui.api.controller
Class UiNavigationEvent
java.lang.Object
io.github.mmm.ui.api.controller.UiNavigationEvent
- All Implemented Interfaces:
io.github.mmm.ui.api.attribute.AttributeReadProgrammatic
public class UiNavigationEvent
extends Object
implements io.github.mmm.ui.api.attribute.AttributeReadProgrammatic
Event for
navigation
.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionUiNavigationEvent
(UiPlace oldPlace, UiPlace newPlace, boolean programmatic) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
UiNavigationEvent
The constructor.- Parameters:
oldPlace
- theold place
.newPlace
- thenew place
.programmatic
- theprogrammatic flag
.
-
-
Method Details
-
getOldPlace
- Returns:
- the old (previous)
UiPlace
that was left during the navigation. The very first navigation event will useUiPlace.NONE
.
-
getNewPlace
- Returns:
- the new
UiPlace
that was entered during the navigation.
-
isProgrammatic
public boolean isProgrammatic()- Specified by:
isProgrammatic
in interfaceio.github.mmm.ui.api.attribute.AttributeReadProgrammatic
-