Package org.cyclops.cyclopscore.infobook
Class InfoBook
java.lang.Object
org.cyclops.cyclopscore.infobook.InfoBook
- All Implemented Interfaces:
IInfoBook
- Direct Known Subclasses:
InfoBookTest
Default implementation for an
IInfoBook
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSection
(String sectionName, InfoSection section) protected boolean
boolean
Map
<String, org.apache.commons.lang3.tuple.Pair<InfoSection, Integer>> int
org.cyclops.cyclopscore.datastructure.EvictingStack
<InfoSection.Location> getMod()
int
getSection
(String sectionName) int
hashCode()
void
putIndex
(InfoSectionTagIndex tagIndex) void
setConfigLinks
(Map<String, org.apache.commons.lang3.tuple.Pair<InfoSection, Integer>> configLinks) void
setCurrentPage
(int currentPage) void
setCurrentSection
(InfoSection currentSection) void
setTagIndex
(InfoSectionTagIndex tagIndex) toString()
-
Constructor Details
-
InfoBook
-
-
Method Details
-
addSection
- Specified by:
addSection
in interfaceIInfoBook
-
getSection
- Specified by:
getSection
in interfaceIInfoBook
-
putIndex
-
getMod
-
getPagesPerView
public int getPagesPerView()- Specified by:
getPagesPerView
in interfaceIInfoBook
-
getBaseUrl
- Specified by:
getBaseUrl
in interfaceIInfoBook
-
getHistory
- Specified by:
getHistory
in interfaceIInfoBook
-
getCurrentPage
public int getCurrentPage()- Specified by:
getCurrentPage
in interfaceIInfoBook
-
getCurrentSection
- Specified by:
getCurrentSection
in interfaceIInfoBook
-
getTagIndex
- Specified by:
getTagIndex
in interfaceIInfoBook
-
getConfigLinks
- Specified by:
getConfigLinks
in interfaceIInfoBook
-
getSections
-
setCurrentPage
public void setCurrentPage(int currentPage) - Specified by:
setCurrentPage
in interfaceIInfoBook
-
setCurrentSection
- Specified by:
setCurrentSection
in interfaceIInfoBook
-
setTagIndex
-
setConfigLinks
public void setConfigLinks(Map<String, org.apache.commons.lang3.tuple.Pair<InfoSection, Integer>> configLinks) - Specified by:
setConfigLinks
in interfaceIInfoBook
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-