|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PageViewComponent
The PageViewComponent interfaces should be used by any page view
implementation to represent a single page view. The methods defined in this
interface are the most commonly used methods and are used by the
AbstractDocumentView and AbstractDocumentViewModel.
PageViewComponentImpl| Method Summary | |
|---|---|
void |
dispose()
Called to free resources used by this component. |
int |
getPageIndex()
Gets the page index which this PageViewComponent is drawing. |
void |
pageInitializedCallback(org.icepdf.core.pobjects.Page page)
This callback is called when the page is successfully initialized at which point an implementation may like to work with the page object before the parent method turns. |
void |
pageTeardownCallback()
This callback is called when a page is scheduled for dispose. |
void |
setDocumentViewCallback(DocumentView parentDocumentView)
Set the parent Document View class which is responsible for drawing and the general management of PageViewComponents for a particular view. |
void |
updateView(java.lang.String propertyConstant,
java.lang.Object oldValue,
java.lang.Object newValue)
Called from parent controls when a UI control has manipulated the view, property change is picked up and the view is updated accordingly. |
| Method Detail |
|---|
void setDocumentViewCallback(DocumentView parentDocumentView)
parentDocumentView - type of view, single page, continuous, etc.int getPageIndex()
void dispose()
void updateView(java.lang.String propertyConstant,
java.lang.Object oldValue,
java.lang.Object newValue)
propertyConstant - document view change property.oldValue - old valuenewValue - new valuevoid pageInitializedCallback(org.icepdf.core.pobjects.Page page)
page - page that was just initialized.void pageTeardownCallback()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||