net.sf.statcvs.pages
public class PageGroup extends Object implements NavigationNode
Constructor and Description |
---|
PageGroup(String title) |
PageGroup(String title,
boolean connectSiblings) |
Modifier and Type | Method and Description |
---|---|
void |
add(NavigationNode page) |
String |
asLinkList() |
String |
asParentLink() |
String |
getFullTitle() |
String |
getShortTitle() |
String |
getURL() |
void |
setParent(NavigationNode parentPage)
Sets the page's parent.
|
void |
setShowLinkToPreviousSibling(boolean showLink) |
void |
setSiblings(String siblingsTitle,
List siblingPages)
Sets a list of
Page s that are siblings of this page. |
void |
write() |
public PageGroup(String title)
public PageGroup(String title, boolean connectSiblings)
public void add(NavigationNode page)
public void setParent(NavigationNode parentPage)
NavigationNode
setParent
in interface NavigationNode
public void setSiblings(String siblingsTitle, List siblingPages)
NavigationNode
Page
s that are siblings of this page.
The generated page will contain a navigation list that links
to all siblings. The sibling list may contain the page
itself.setSiblings
in interface NavigationNode
siblingsTitle
- Title for navigation list, e.g. "Monthly Reports"public void setShowLinkToPreviousSibling(boolean showLink)
setShowLinkToPreviousSibling
in interface NavigationNode
public String getFullTitle()
getFullTitle
in interface NavigationNode
public String getShortTitle()
getShortTitle
in interface NavigationNode
public String getURL()
getURL
in interface NavigationNode
public void write()
write
in interface NavigationNode
public String asLinkList()
public String asParentLink()
asParentLink
in interface NavigationNode