Package net.sf.statcvs.pages
Class PageGroup
java.lang.Object
net.sf.statcvs.pages.PageGroup
- All Implemented Interfaces:
NavigationNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NavigationNode page) getURL()voidsetParent(NavigationNode parentPage) Sets the page's parent.voidsetShowLinkToPreviousSibling(boolean showLink) voidsetSiblings(String siblingsTitle, List siblingPages) Sets a list ofPages that are siblings of this page.voidwrite()
-
Constructor Details
-
PageGroup
-
PageGroup
-
-
Method Details
-
setSiblings
Description copied from interface:NavigationNodeSets a list ofPages 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.- Specified by:
setSiblingsin interfaceNavigationNode- Parameters:
siblingsTitle- Title for navigation list, e.g. "Monthly Reports"
-
setShowLinkToPreviousSibling
public void setShowLinkToPreviousSibling(boolean showLink) - Specified by:
setShowLinkToPreviousSiblingin interfaceNavigationNode
-
getFullTitle
- Specified by:
getFullTitlein interfaceNavigationNode
-
getShortTitle
- Specified by:
getShortTitlein interfaceNavigationNode
-
getURL
- Specified by:
getURLin interfaceNavigationNode
-
write
public void write()- Specified by:
writein interfaceNavigationNode
-
asLinkList
-
asParentLink
- Specified by:
asParentLinkin interfaceNavigationNode