public interface DocumentView
extends java.awt.event.AdjustmentListener, java.awt.event.FocusListener
The DocumentView interface should be used when create a new multipage view.
AbstractDocumentView| Modifier and Type | Field and Description |
|---|---|
static int |
LEFT_VIEW
Indicates that a two column view will have odd-numbered pages on the left.
|
static int |
RIGHT_VIEW
Indicates that a two column view will have odd-numbered pages on the right.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose all resources associated with this views.
|
java.awt.Dimension |
getDocumentSize()
Gets the total size of the document view.
|
int |
getNextPageIncrement()
Get the next page index.
|
DocumentViewController |
getParentViewController()
Parent document view controller
|
int |
getPreviousPageIncrement()
Get the previous page index.
|
DocumentViewModel |
getViewModel()
Gets the view model associated with this document view.
|
void |
setToolMode(int viewToolMode)
Sets the tool type/mode that is to be enabled for the particular
view.
|
void |
updateDocumentView()
Update the child components which make up this view.
|
static final int LEFT_VIEW
static final int RIGHT_VIEW
int getNextPageIncrement()
int getPreviousPageIncrement()
java.awt.Dimension getDocumentSize()
DocumentViewController getParentViewController()
DocumentViewModel getViewModel()
void dispose()
void updateDocumentView()
void setToolMode(int viewToolMode)
viewToolMode - tool mode type.