public interface Bookmarks
Modifier and Type | Method and Description |
---|---|
Bookmark |
getBookmark(int index) |
int |
getBookmarksCount() |
java.util.Map<java.lang.Integer,java.util.List<Bookmark>> |
getBookmarksStartedBetween(int startInclusive,
int endExclusive) |
void |
remove(int index)
Remove bookmark from document (but not the bookmark text)
|
Bookmark getBookmark(int index) throws java.lang.IndexOutOfBoundsException
index
- bookmark document indexBookmark
with specified indexjava.lang.IndexOutOfBoundsException
- if bookmark with specified index not present in documentint getBookmarksCount()
Bookmark
s in documentjava.util.Map<java.lang.Integer,java.util.List<Bookmark>> getBookmarksStartedBetween(int startInclusive, int endExclusive)
Map
of bookmarks started in specified range, where key is
start position and value is sorted List
of
Bookmark
void remove(int index)
index
- bookmark document index to be removedCopyright © 2005-2010 Potix Corporation. All Rights Reserved.