TransitionContainer
.@Deprecated public class ChainedNavigatorReference extends Navigator
References to pages are kept for faster navigation.
EMPTY_ELEMENT_ARRAY
Constructor and Description |
---|
ChainedNavigatorReference(Page[] pages,
boolean circular)
Deprecated.
Creates a navigator for chained pages.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canGoBackward()
Deprecated.
Gets whether or not it is possible to go backward.
|
boolean |
canGoForward()
Deprecated.
Gets whether or not it is possible to go forward.
|
protected Page |
getNextPage()
Deprecated.
Gets the next page.
|
protected Page |
getPreviousPage()
Deprecated.
Gets the previous page.
|
void |
goBackward()
Deprecated.
Shows the previous page.
|
void |
goForward()
Deprecated.
Shows the next page.
|
add, getContentBounds, getCurrentPage, getTransitionManager, handleEvent, remove, renderContent, setBoundsContent, setChildBounds, setCurrentPage, setTransitionManager, show, updateCurrentPage, validateContent
contains, isAdjustedToChild, setAdjustedToChild, setWidget
addClassSelector, gainFocus, getAttribute, getChild, getChildrenCount, getChildrenElements, getParentElement, getStyle, hasClassSelector, isInState, isTransparent, lostFocus, mergeStyle, removeAllClassSelectors, removeClassSelector, removeInstanceStyle, render, setBounds, setClassSelectors, setEnabled, updateStyle, updateStyleOnly, validate
getFocus, getFocusIndex, getNext, getWidget, getWidgetAt, getWidgets, getWidgetsCount, hideNotify, iterator, removeAllWidgets, requestFocus, requestFocus, requestFocusFrom, showNotify
getAbsoluteX, getAbsoluteX, getAbsoluteY, getAbsoluteY, getEventHandler, getHeight, getPanel, getParent, getPreferredHeight, getPreferredWidth, getRelativeX, getRelativeY, getWidth, getX, getY, hasFocus, invalidate, isEnabled, isShown, isValid, isVisible, repaint, repaint, revalidate, revalidateSubTree, setEventHandler, setLocation, setPreferredSize, setSize, setVisible
public ChainedNavigatorReference(Page[] pages, boolean circular)
pages
- the pages.circular
- true
to go from the first page to the last one by going backward and to go from the last
page to the first one by going forward,false
otherwise.ClassNameURLResolver
public boolean canGoBackward()
Navigator
canGoBackward
in class Navigator
true
if it is possible to go backward, false
otherwise.protected Page getPreviousPage()
Navigator
getPreviousPage
in class Navigator
null
if cannot go backward.public void goBackward()
Navigator
Nothing is done if cannot go backward.
goBackward
in class Navigator
public boolean canGoForward()
Navigator
canGoForward
in class Navigator
true
if it is possible to go forward, false
otherwise.protected Page getNextPage()
Navigator
getNextPage
in class Navigator
null
if cannot go forward.