Class EpubNavigation
- java.lang.Object
-
- com.openindex.openestate.tool.manual.epub.EpubNavigation
-
public class EpubNavigation extends Object
EpubNavigation.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EpubNavigation.Event
static interface
EpubNavigation.Listener
-
Constructor Summary
Constructors Constructor Description EpubNavigation()
EpubNavigation(EpubBook book)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(EpubNavigation.Listener listener)
EpubBook
getBook()
org.jepub.core.spec.navigation.entity.Content
getContent()
boolean
hasNextHistory()
boolean
hasPreviousHistory()
void
navigate(String key, Object source)
void
navigate(String key, Object source, boolean updateHistory)
void
navigate(org.jepub.core.spec.navigation.entity.Content content, Object source)
void
navigate(org.jepub.core.spec.navigation.entity.Content content, Object source, boolean updateHistory)
void
navigateToNext(Object source)
void
navigateToPrevious(Object source)
void
removeListener(EpubNavigation.Listener listener)
void
setBook(EpubBook book, Object source)
-
-
-
Constructor Detail
-
EpubNavigation
public EpubNavigation()
-
EpubNavigation
public EpubNavigation(EpubBook book)
-
-
Method Detail
-
addListener
public void addListener(EpubNavigation.Listener listener)
-
getBook
public EpubBook getBook()
-
getContent
public org.jepub.core.spec.navigation.entity.Content getContent()
-
hasNextHistory
public boolean hasNextHistory()
-
hasPreviousHistory
public boolean hasPreviousHistory()
-
navigate
public void navigate(org.jepub.core.spec.navigation.entity.Content content, Object source)
-
navigate
public void navigate(org.jepub.core.spec.navigation.entity.Content content, Object source, boolean updateHistory)
-
navigateToNext
public void navigateToNext(Object source)
-
navigateToPrevious
public void navigateToPrevious(Object source)
-
removeListener
public void removeListener(EpubNavigation.Listener listener)
-
-