com.icesoft.pdf.views
Interface PageViewComponent

All Known Implementing Classes:
PageViewComponentImpl

public interface PageViewComponent

The PageViewComponent interaces 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.

Since:
2.0
See Also:
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 init()
          Called to initialize resources used by this class.
 void setDocumentViewCallback(DocumentView parentDocumentView)
          Set the parent Document View class which is resbonsible for drawing and the general management of PageViewComponents for a particular view.
 

Method Detail

setDocumentViewCallback

public void setDocumentViewCallback(DocumentView parentDocumentView)
Set the parent Document View class which is resbonsible for drawing and the general management of PageViewComponents for a particular view.

Parameters:
parentDocumentView -

getPageIndex

public int getPageIndex()
Gets the page index which this PageViewComponent is drawing.

Returns:
zero pages page index of the page drawn by this component.

init

public void init()
Called to initialize resources used by this class.


dispose

public void dispose()
Called to free resources used by this component.