See: Description
| Interface | Description |
|---|---|
| NavigationListener |
An external observer of navigation events.
|
| PageFactory |
Builds the
Page for a page key. |
| Class | Description |
|---|---|
| Navigator |
The navigation controller and entry point of the framework.
|
| Page |
The unit of navigation.
|
An application models each screen as a Page and identifies it by a
non-negative int key. A single PageFactory builds the page for a key
on demand. The Navigator is a singleton: the application initializes it once
with the Desktop it drives and that factory
(Navigator.initialize(ej.mwt.Desktop, ej.navigation.PageFactory)), then
obtains it with Navigator.getInstance(). The navigator owns a
multi-level navigation history and drives that single MicroUI Desktop: it navigates with
Navigator.navigateTo(int) / Navigator.navigateBack() /
Navigator.navigateBackTo(int), and can replace the active page in place with
Navigator.replaceWith(int) (which discards the replaced page). Every change
is animated with a Transition. Pages receive lifecycle callbacks,
and
navigation events are reported to registered NavigationListener instances.