MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / goToSavedPosition

Method goToSavedPosition

src/org/albite/albite/BookCanvas.java:1667–1674  ·  view source on GitHub ↗
(final int chapterNumber)

Source from the content-addressed store, hash-verified

1665 }
1666
1667 public final void goToSavedPosition(final int chapterNumber) {
1668 final Chapter c = currentBook.getChapter(chapterNumber);
1669
1670 if (c != currentBook.getCurrentChapter()) {
1671 final int pos = c.getCurrentPosition();
1672 goToPosition(c, pos);
1673 }
1674 }
1675
1676 private void renderPages() {
1677

Callers 1

executeMethod · 0.80

Calls 4

getCurrentPositionMethod · 0.95
goToPositionMethod · 0.95
getCurrentChapterMethod · 0.80
getChapterMethod · 0.45

Tested by

no test coverage detected