public class Navigation extends Object implements Iterable<Navigation.Element>
Navigation.Element.Types.
Note that the same page might be returned 4 times for the different element
types. this offers maximal flexibility when drawing the navigation.| Modifier and Type | Class and Description |
|---|---|
static class |
Navigation.Element
Navigation element.
|
| Constructor and Description |
|---|
Navigation(Page current,
int absParent,
PageFilter filter,
int depth)
Creates a new navigation object.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Navigation.Element> |
iterator()
Returns an iterator over the navigation elements.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Navigation(Page current, int absParent, PageFilter filter, int depth)
current - the current pageabsParent - the abs level of the navigation rootfilter - a page filter for filtering the navigation pagesdepth - navigation depth.public Iterator<Navigation.Element> iterator()
iterator in interface Iterable<Navigation.Element>Copyright © 2010 - 2020 Adobe. All Rights Reserved