@ConsumerType public interface NavigationItem extends ListItem
Breadcrumb and Navigation models.| Modifier and Type | Method and Description |
|---|---|
default List<NavigationItem> |
getChildren()
Returns the children of this
NavigationItem, if any. |
default int |
getLevel()
Returns the depth level of this
NavigationItem. |
default Page |
getPage()
Deprecated.
since 12.1.0 as
NavigationItem relies on ListItem |
default boolean |
isActive()
Returns
true if the page contained by this navigation item is active. |
getDescription, getLastModified, getName, getPath, getTitle, getURLgetData, getExportedType, getId@Deprecated default Page getPage()
NavigationItem relies on ListItemPage contained by this navigation item.Page contained in this navigation item.default in 12.1.0default boolean isActive()
true if the page contained by this navigation item is active.true if it is the current page, otherwise falsedefault in 12.1.0default List<NavigationItem> getChildren()
NavigationItem, if any.NavigationItem; if this NavigationItem doesn't have any children, the returned
List will be emptydefault int getLevel()
NavigationItem.Copyright © 2010 - 2020 Adobe. All Rights Reserved