com.lowagie.rups.controller
public class PdfRendererController extends JSplitPane implements Observer
| Field Summary | |
|---|---|
| protected PageLoader | pageLoader The page loader that provides access to the PDFPage objects. |
| protected PagePanel | pagePanel The PagePanel |
| static long | serialVersionUID A Serial Version UID. |
| protected ToolBar | toolbar The ToolBar. |
| Constructor Summary | |
|---|---|
| PdfRendererController(PageNavigationListener listener)
Constructs the rendering controller. | |
| Method Summary | |
|---|---|
| int | getCurrentPageNumber()
Getter for the current page number. |
| int | getTotalNumberOfPages()
Gets the total number of pages in the document. |
| int | gotoPage(int pageNumber)
Shows a specific page. |
| protected int | showPage(int pageNumber)
Shows a specific page in the page panel. |
| void | startPageLoader(PdfFile file)
Starts loading pages.
|
| void | update(Observable observable, Object obj)
Forwards updates from the RupsController to the Observers of this class. |
Parameters: listener a page navigation listener
Returns: the page number of the page currently shown
Returns: the total number of pages
Parameters: pageNumber the number of a specific page.
Parameters: pageNumber a number of a specific page.
Parameters: file the PdfFile that needs to be rendered
Parameters: observable this should be the RupsController obj the object that has to be forwarded to the observers of PdfReaderController
See Also: java.util.Observer#update(java.util.Observable, java.lang.Object)