TransitionContainer
.@Deprecated public class ChainedNavigatorURL extends Navigator
References to pages are not kept for smaller memory footprint, only their URLs are kept. Pages are reloaded from their URLs.
EMPTY_ELEMENT_ARRAY
Constructor and Description |
---|
ChainedNavigatorURL(java.lang.String[] urls,
boolean circular)
Deprecated.
Creates a navigator for chained pages.
|
ChainedNavigatorURL(URLResolver urlResolver,
java.lang.String[] urls,
boolean circular)
Deprecated.
Creates a map navigation.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventHandler, getHeight, getWidth, getX, getY, hideNotify, isShown, repaint, repaint, setEventHandler, showNotify
public ChainedNavigatorURL(java.lang.String[] urls, boolean circular)
urls
- the URLs of 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 ChainedNavigatorURL(URLResolver urlResolver, java.lang.String[] urls, boolean circular)
urlResolver
- the URL resolver.urls
- the URLs of 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.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.