TransitionContainer
.@Deprecated public class HorizontalTransitionManager extends TransitionManager
For each step of the transition, all widgets are drawn.
Constructor and Description |
---|
HorizontalTransitionManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
animate(Page oldPage,
Page newPage,
boolean forward)
Deprecated.
Animates the transition between two pages of the navigation container.
|
boolean |
handleEvent(int event)
Deprecated.
Handles an event that occurs on the navigation container.
|
protected boolean |
onDrag(Page currentPage,
int pointerX)
Deprecated.
Called when the user drags the pages to go back to the previous page.
|
addPage, canGoBackward, canGoForward, getContentBounds, getNavigator, getNextPage, getPreviousPage, goBackward, goForward, removePage, render, setChildBounds, setCurrentPage, show, startTransition, stopTransition
public void animate(Page oldPage, Page newPage, boolean forward)
TransitionManager
animate
in class TransitionManager
oldPage
- the old page.newPage
- the new page.forward
- true
if going to a page that is after the current one, false
otherwise.public boolean handleEvent(int event)
TransitionManager
handleEvent
in class TransitionManager
event
- the event to handle.true
if the widget has consumed the event, false
otherwise.protected boolean onDrag(Page currentPage, int pointerX)
currentPage
- the current page.pointerX
- the pointer current x coordinate.true
if two pages are visible, false
otherwise.