A B C D E F G I L N O P R S T 
All Classes All Packages

A

addNavigationListener(NavigationListener) - Method in class ej.navigation.Navigator
Registers a navigation listener.
animate(Animation) - Method in interface ej.navigation.transition.TransitionContext
Registers and starts the animation that drives this transition.

B

blendIncoming(int) - Method in interface ej.navigation.transition.TransitionContext
Blends the incoming content over the outgoing one at the given opacity and requests a render.

C

create(int, Object) - Method in interface ej.navigation.PageFactory
Creates the page identified by the given key, injecting the given per-navigation argument.

D

DEFAULT_DURATION_MILLIS - Static variable in interface ej.navigation.transition.Transition
Default duration of the shipped animated transitions (FadeTransition, SlideTransition), in milliseconds.

E

ej.navigation - package ej.navigation
Navigation Framework for building multi-screen MicroEJ applications.
ej.navigation.transition - package ej.navigation.transition
Transitions animating the page changes of the Navigation Framework.

F

FadeTransition - Class in ej.navigation.transition
A transition that fades the incoming content in over the outgoing one.
FadeTransition() - Constructor for class ej.navigation.transition.FadeTransition
Creates a fade with the default duration.
FadeTransition(int) - Constructor for class ej.navigation.transition.FadeTransition
Creates a fade with the given duration.

G

getActiveKey() - Method in class ej.navigation.Navigator
Returns the key of the active page.
getActivePage() - Method in class ej.navigation.Navigator
Returns the active page, the page on top of the history.
getContent() - Method in class ej.navigation.Page
Creates the visual content of this page.
getContentHeight() - Method in interface ej.navigation.transition.TransitionContext
Returns the height of the content area shared by both contents.
getContentWidth() - Method in interface ej.navigation.transition.TransitionContext
Returns the width of the content area shared by both contents.
getHistory() - Method in class ej.navigation.Navigator
Returns a copy of the navigation history as pages, ordered from the oldest at index 0 to the active page at the last index.
getHistoryKeys() - Method in class ej.navigation.Navigator
Returns a copy of the navigation history as keys, in the same order as Navigator.getHistory().
getIncomingContent() - Method in interface ej.navigation.transition.TransitionContext
Returns the content of the page being entered.
getInstance() - Static method in class ej.navigation.Navigator
Returns the navigator.
getOutgoingContent() - Method in interface ej.navigation.transition.TransitionContext
Returns the content of the page being left, or null when there is none.

I

IMMEDIATE - Static variable in interface ej.navigation.transition.Transition
The instant transition: the incoming content replaces the outgoing content in a single frame.
initialize(Desktop, PageFactory) - Static method in class ej.navigation.Navigator
Initializes the navigator with the desktop it drives and the factory that builds its pages.

L

LEFT_TO_RIGHT - Static variable in class ej.navigation.transition.SlideTransition
Direction where the incoming content enters from the left edge and the outgoing content leaves through the right edge.

N

navigateBack() - Method in class ej.navigation.Navigator
Navigates back, using the default transition.
navigateBack(Transition) - Method in class ej.navigation.Navigator
Navigates back: the active entry is popped and the entry beneath it becomes the active page.
navigateBackTo(int) - Method in class ej.navigation.Navigator
Navigates back to the nearest page with the given key, using the default transition.
navigateBackTo(int, Transition) - Method in class ej.navigation.Navigator
Navigates back to the nearest entry below the active one whose key matches; every entry above it is removed from the history.
navigateTo(int) - Method in class ej.navigation.Navigator
Navigates to the page identified by the given key, using the default transition and carrying no argument.
navigateTo(int, Transition) - Method in class ej.navigation.Navigator
Navigates to the page identified by the given key, carrying no argument.
navigateTo(int, Object) - Method in class ej.navigation.Navigator
Navigates to the page identified by the given key, carrying the given argument, using the default transition.
navigateTo(int, Object, Transition) - Method in class ej.navigation.Navigator
Navigates to the page identified by the given key: it is built by the factory from the key and the given argument, pushed on top of the history, and becomes the active page.
NavigationListener - Interface in ej.navigation
An external observer of navigation events.
Navigator - Class in ej.navigation
The navigation controller and entry point of the framework.

O

onEntered() - Method in class ej.navigation.Page
Notifies this page that it has become the active page.
onExited() - Method in class ej.navigation.Page
Notifies this page that it has ceased to be the active page.
onNavigation(Page, Page) - Method in interface ej.navigation.NavigationListener
Notifies that the active page has changed from exitedPage to enteredPage.
onTransitionEnd() - Method in interface ej.navigation.transition.TransitionListener
Signals that the transition has finished.

P

Page - Class in ej.navigation
The unit of navigation.
Page() - Constructor for class ej.navigation.Page
 
PageFactory - Interface in ej.navigation
Builds the Page for a page key.
positionContents(int, int, int, int) - Method in interface ej.navigation.transition.TransitionContext
Positions the outgoing and incoming contents within the content area and requests a render.

R

removeNavigationListener(NavigationListener) - Method in class ej.navigation.Navigator
Unregisters a previously registered navigation listener.
replaceWith(int) - Method in class ej.navigation.Navigator
Replaces the active page with the page identified by the given key, using the default transition and carrying no argument.
replaceWith(int, Transition) - Method in class ej.navigation.Navigator
Replaces the active page with the page identified by the given key, carrying no argument.
replaceWith(int, Object) - Method in class ej.navigation.Navigator
Replaces the active page with the page identified by the given key, carrying the given argument, using the default transition.
replaceWith(int, Object, Transition) - Method in class ej.navigation.Navigator
Replaces the active page with the page identified by the given key, built by the factory from the key and the given argument, keeping the history depth unchanged.
RIGHT_TO_LEFT - Static variable in class ej.navigation.transition.SlideTransition
Direction where the incoming content enters from the right edge and the outgoing content leaves through the left edge.
run(TransitionContext, TransitionListener) - Method in class ej.navigation.transition.FadeTransition
 
run(TransitionContext, TransitionListener) - Method in class ej.navigation.transition.SlideTransition
 
run(TransitionContext, TransitionListener) - Method in interface ej.navigation.transition.Transition
Animates the page change described by the given context.

S

setTransition(Transition) - Method in class ej.navigation.Navigator
Sets the default transition used by the no-transition navigation overloads.
SlideTransition - Class in ej.navigation.transition
A transition that slides the incoming content horizontally over the outgoing one.
SlideTransition() - Constructor for class ej.navigation.transition.SlideTransition
Creates a right-to-left slide with the default duration.
SlideTransition(int) - Constructor for class ej.navigation.transition.SlideTransition
Creates a slide in the given direction with the default duration.
SlideTransition(int, int) - Constructor for class ej.navigation.transition.SlideTransition
Creates a slide in the given direction with the given duration.

T

Transition - Interface in ej.navigation.transition
Animates the replacement of the outgoing content by the incoming content during a navigation.
TransitionContext - Interface in ej.navigation.transition
The stage on which a Transition animates a page change.
TransitionListener - Interface in ej.navigation.transition
Notified when a Transition has finished.
A B C D E F G I L N O P R S T 
All Classes All Packages