public class ShadowAppNavPage extends AppNavPageWrapper
IAppNavPage
subtree.Modifier and Type | Field and Description |
---|---|
protected List<IAppNavPage> |
m_children
List of
IAppNavPage children. |
protected IAppNavPage |
m_parent
Reference to
IAppNavPage parent. |
m_page
Constructor and Description |
---|
ShadowAppNavPage(IAppNavPage page)
Creates a shadow subtree structure for the specified page,
with the specified page as the subtree root.
|
ShadowAppNavPage(IAppNavPage page,
IAppNavPage parent)
Creates a shadow subtree structure for the specified page,
with the specified (non-shadowed) parent.
|
Modifier and Type | Method and Description |
---|---|
List<IAppNavPage> |
getPageChildren()
List of
IAppNavPage children. |
IAppNavPage |
getPageParent()
IAppNavPage parent. |
void |
setPageParent(IAppNavPage parent)
Sets this page's (non-shadowed) parent.
|
getChildren, getData, getId, getParent, getTitle, getUrl, getWrappedPage, setWrappedPage
protected IAppNavPage m_parent
IAppNavPage
parent.protected List<IAppNavPage> m_children
IAppNavPage
children.public ShadowAppNavPage(IAppNavPage page)
public ShadowAppNavPage(IAppNavPage page, IAppNavPage parent)
public IAppNavPage getPageParent()
IAppNavPage
parent.
Null if root page.getPageParent
in interface IAppNavPage
getPageParent
in class AppNavPageWrapper
public List<IAppNavPage> getPageChildren()
IAppNavPage
children.
Empty list (non-null) for leaf pages.getPageChildren
in interface IAppNavPage
getPageChildren
in class AppNavPageWrapper
public void setPageParent(IAppNavPage parent)