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

Method goToPosition

src/org/albite/albite/BookCanvas.java:1630–1637  ·  view source on GitHub ↗
(final Chapter chapter, final int position)

Source from the content-addressed store, hash-verified

1628 }
1629
1630 public final void goToPosition(final Chapter chapter, final int position) {
1631 //#debug
1632 AlbiteMIDlet.LOGGER.log("going to position: " + (currentBook != null) + " & " + (currentBook.getCurrentChapter() != null));
1633
1634 loadChapter(chapter);
1635 chapterBooklet.goToPosition(position);
1636 renderPages();
1637 }
1638
1639 public final void goToPosition(
1640 final int chapterNumber, final float percent) {

Callers 6

openBookMethod · 0.95
goToSavedPositionMethod · 0.95
reloadPagesMethod · 0.95
reflowChapterMethod · 0.95
executeMethod · 0.45

Calls 8

loadChapterMethod · 0.95
renderPagesMethod · 0.95
logMethod · 0.80
getCurrentChapterMethod · 0.80
getPagesCountMethod · 0.80
goToPageMethod · 0.80
getChapterMethod · 0.45
getPositionMethod · 0.45

Tested by

no test coverage detected