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 fornavigation.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description UiNavigationEvent(UiPlace oldPlace, UiPlace newPlace, boolean programmatic)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UiPlacegetNewPlace()UiPlacegetOldPlace()booleanisProgrammatic()
-
-
-
Constructor Detail
-
UiNavigationEvent
public UiNavigationEvent(UiPlace oldPlace, UiPlace newPlace, boolean programmatic)
The constructor.- Parameters:
oldPlace- theold place.newPlace- thenew place.programmatic- theprogrammatic flag.
-
-
Method Detail
-
getOldPlace
public UiPlace getOldPlace()
- Returns:
- the old (previous)
UiPlacethat was left during the navigation. The very first navigation event will useUiPlace.NONE.
-
getNewPlace
public UiPlace getNewPlace()
- Returns:
- the new
UiPlacethat was entered during the navigation.
-
isProgrammatic
public boolean isProgrammatic()
- Specified by:
isProgrammaticin interfaceio.github.mmm.ui.api.attribute.AttributeReadProgrammatic
-
-