A B C D E F G I L N O P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addNavigationListener(NavigationListener) - Method in class ej.navigation.Navigator
-
Registers a navigation listener.
B
- BACK - Static variable in interface ej.navigation.transition.TransitionContext
-
Navigation kind of a backward navigation, requested with
Navigator.navigateBack()orNavigator.navigateBackTo(int). - BOTTOM_TO_TOP - Static variable in class ej.navigation.transition.SlideTransition
-
Direction where the incoming content enters from the bottom edge.
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. - drawIncoming(GraphicsContext, int, int, int) - Method in interface ej.navigation.transition.TransitionContext
-
Draws the incoming content with its top-left corner at the given coordinates and at the given opacity.
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 and easing.
- FadeTransition(int) - Constructor for class ej.navigation.transition.FadeTransition
-
Creates a fade with the given duration and the default easing.
- FadeTransition(int, Function) - Constructor for class ej.navigation.transition.FadeTransition
-
Creates a fade with the given duration and easing.
- FORWARD - Static variable in interface ej.navigation.transition.TransitionContext
-
Navigation kind of a forward navigation, requested with
Navigator.navigateTo(int).
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 the frames are drawn in.
- getContentWidth() - Method in interface ej.navigation.transition.TransitionContext
-
Returns the width of the content area the frames are drawn in.
- getDuration() - Method in class ej.navigation.transition.FadeTransition
- getDuration() - Method in class ej.navigation.transition.SlideTransition
- getDuration() - Method in interface ej.navigation.transition.Transition
-
Returns how long this transition lasts, in milliseconds.
- getHistory() - Method in class ej.navigation.Navigator
-
Returns a copy of the navigation history as pages, ordered from the oldest at index
0to 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(). - getIncomingImage() - Method in interface ej.navigation.transition.TransitionContext
-
Returns the incoming content as an image the size of the content area.
- getInstance() - Static method in class ej.navigation.Navigator
-
Returns the navigator.
- getNavigationKind() - Method in interface ej.navigation.transition.TransitionContext
-
Returns which navigation is being animated.
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.
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
exitedPagetoenteredPage.
P
- Page - Class in ej.navigation
-
The unit of navigation.
- Page() - Constructor for class ej.navigation.Page
- PageFactory - Interface in ej.navigation
-
Builds the
Pagefor a page key.
R
- releaseTransitionBuffer() - Method in class ej.navigation.Navigator
-
Frees the buffer the transitions draw the incoming page content from.
- removeNavigationListener(NavigationListener) - Method in class ej.navigation.Navigator
-
Unregisters a previously registered navigation listener.
- render(GraphicsContext, TransitionContext, float) - Method in class ej.navigation.transition.FadeTransition
- render(GraphicsContext, TransitionContext, float) - Method in class ej.navigation.transition.SlideTransition
- render(GraphicsContext, TransitionContext, float) - Method in interface ej.navigation.transition.Transition
-
Draws one frame of this transition.
- REPLACE - Static variable in interface ej.navigation.transition.TransitionContext
-
Navigation kind of an in-place replacement, requested with
Navigator.replaceWith(int). - 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.
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 in from one edge of the content area.
- SlideTransition() - Constructor for class ej.navigation.transition.SlideTransition
-
Creates a right-to-left slide with the default duration and easing, mirrored on back navigations.
- SlideTransition(int) - Constructor for class ej.navigation.transition.SlideTransition
-
Creates a slide in the given direction with the default duration and easing, mirrored on back navigations.
- SlideTransition(int, int) - Constructor for class ej.navigation.transition.SlideTransition
-
Creates a slide in the given direction with the given duration and the default easing, mirrored on back navigations.
- SlideTransition(int, int, Function) - Constructor for class ej.navigation.transition.SlideTransition
-
Creates a slide in the given direction with the given duration and easing, mirrored on back navigations.
- SlideTransition(int, int, Function, boolean) - Constructor for class ej.navigation.transition.SlideTransition
-
Creates a slide in the given direction with the given duration and easing, mirroring the direction on back navigations only if asked to.
- SNAPSHOTS_CONSTANT - Static variable in interface ej.navigation.transition.Transition
-
Name of the BON constant enabling the transition snapshots,
trueby default. - start(TransitionContext) - Method in class ej.navigation.transition.FadeTransition
- start(TransitionContext) - Method in class ej.navigation.transition.SlideTransition
- start(TransitionContext) - Method in interface ej.navigation.transition.Transition
-
Prepares this transition for the page change described by the given context.
T
- TOP_TO_BOTTOM - Static variable in class ej.navigation.transition.SlideTransition
-
Direction where the incoming content enters from the top edge.
- Transition - Interface in ej.navigation.transition
-
Draws the frames of a page change.
- TransitionContext - Interface in ej.navigation.transition
-
The page change a
Transitiondraws: the content area it draws in, the navigation that caused it, and the incoming content it draws.
All Classes All Packages