public class Navigation extends java.lang.Object implements java.lang.Iterable<Navigation.Element>
Navigation.Element.Type
s.
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 |
---|---|
java.util.Iterator<Navigation.Element> |
iterator()
Returns an iterator over the navigation elements.
|
public 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 java.util.Iterator<Navigation.Element> iterator()
iterator
in interface java.lang.Iterable<Navigation.Element>
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"