Class BookmarkFactory
java.lang.Object
com.levigo.jadice.web.client.bookmark.BookmarkFactory
Factory class to create client side
Bookmark
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Bookmark
createBookmark
(Document document, Page page) Creates a newBookmark
for the given document and page.static Bookmark
createBookmark
(Document document, Page page, Point2D panPoint, Float zoomfactor, BaseRenderSettings.Rotation rotation) Creates a newBookmark
for the given document and page.
-
Constructor Details
-
BookmarkFactory
public BookmarkFactory()
-
-
Method Details
-
createBookmark
Creates a newBookmark
for the given document and page.May only be used on the client side. Use
SerializableBookmark()
to create a bookmark on the server side.Used by the standard commands that are part of jadice web toolkit.
- Parameters:
document
- the documentpage
- the page- Returns:
- the created bookmark
-