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 TypeMethodDescriptionvoid
add
(NavigationNode page) getURL()
void
setParent
(NavigationNode parentPage) Sets the page's parent.void
setShowLinkToPreviousSibling
(boolean showLink) void
setSiblings
(String siblingsTitle, List siblingPages) Sets a list ofPage
s that are siblings of this page.void
write()
-
Constructor Details
-
PageGroup
-
PageGroup
-
-
Method Details
-
setSiblings
Description copied from interface:NavigationNode
Sets a list ofPage
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.- Specified by:
setSiblings
in interfaceNavigationNode
- Parameters:
siblingsTitle
- Title for navigation list, e.g. "Monthly Reports"
-
setShowLinkToPreviousSibling
public void setShowLinkToPreviousSibling(boolean showLink) - Specified by:
setShowLinkToPreviousSibling
in interfaceNavigationNode
-
getFullTitle
- Specified by:
getFullTitle
in interfaceNavigationNode
-
getShortTitle
- Specified by:
getShortTitle
in interfaceNavigationNode
-
getURL
- Specified by:
getURL
in interfaceNavigationNode
-
write
public void write()- Specified by:
write
in interfaceNavigationNode
-
asLinkList
-
asParentLink
- Specified by:
asParentLink
in interfaceNavigationNode