public class AppNavPageWrapper extends Object implements IAppNavPage
IAppNavPage
.Modifier and Type | Field and Description |
---|---|
protected IAppNavPage |
m_page
IAppNavPage which is set as the wrapped page. |
Constructor and Description |
---|
AppNavPageWrapper()
New, uninitialized AppNavPageWrapper;
must be initialized via
AppNavPageWrapper.setWrappedPage(IAppNavPage) . |
AppNavPageWrapper(IAppNavPage page)
Wraps an existing
IAppNavPage . |
Modifier and Type | Method and Description |
---|---|
List |
getChildren()
Returns
AppNavPageWrapper.getPageChildren() . |
Object |
getData()
This
IAppNavPage . |
String |
getId()
Page id (ex "/myfolder/myview.view").
|
List |
getPageChildren()
List of
IAppNavPage children. |
IAppNavPage |
getPageParent()
IAppNavPage parent. |
INode |
getParent()
Returns
AppNavPageWrapper.getPageParent() . |
String |
getTitle()
Page title (ex "My View").
|
String |
getUrl()
Page url (ex "/mycontext/myfolder/myview.view").
|
IAppNavPage |
getWrappedPage()
Returns
IAppNavPage set as the wrapped page. |
void |
setWrappedPage(IAppNavPage page)
Sets a
IAppNavPage as the wrapped page. |
protected IAppNavPage m_page
IAppNavPage
which is set as the wrapped page.public AppNavPageWrapper()
AppNavPageWrapper.setWrappedPage(IAppNavPage)
.public AppNavPageWrapper(IAppNavPage page)
IAppNavPage
.public Object getData()
IAppNavPage
.getData
in interface IAppNavPage
getData
in interface INode
public String getId()
getId
in interface IAppNavPage
getId
in interface INode
public INode getParent()
AppNavPageWrapper.getPageParent()
.getParent
in interface IAppNavPage
getParent
in interface INode
public List getChildren()
AppNavPageWrapper.getPageChildren()
.getChildren
in interface IAppNavPage
getChildren
in interface INode
public String getUrl()
getUrl
in interface IAppNavPage
public String getTitle()
getTitle
in interface IAppNavPage
public IAppNavPage getPageParent()
IAppNavPage
parent.
Null if root page.getPageParent
in interface IAppNavPage
public List getPageChildren()
IAppNavPage
children.
Empty list (non-null) for leaf pages.getPageChildren
in interface IAppNavPage
public IAppNavPage getWrappedPage()
IAppNavPage
set as the wrapped page.IAppNavPage
public void setWrappedPage(IAppNavPage page)
IAppNavPage
as the wrapped page.page
- the IAppNavPage