|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Controller
A Controller is the glue between the model and view components. These methods allow the different parts of the view to remain in lock-step with each other and have access to the model, as necessary
| Method Summary | |
|---|---|
int |
getCurrentPageNumber()
When viewing a PDF file, one or more pages may be viewed at a single time, but this page is the single page which is most predominantly being displayed. |
org.icepdf.core.pobjects.Document |
getDocument()
A Document is the root of the object hierarchy, giving access to the contents of a PDF file. |
org.icepdf.core.search.DocumentSearchController |
getDocumentSearchController()
Gets controller responsible for the document text searches. |
DocumentViewController |
getDocumentViewController()
Gets controller responsible for Page view UI interaction. |
java.util.ResourceBundle |
getMessageBundle()
Gets the message bundle used by this class. |
float |
getUserRotation()
Each Page may have its own rotation, but on top of that, the user may select to have the Page further rotated by 90, 180 or 270 degrees. |
float |
getUserZoom()
The Page being shown may be zoomed in or out, to show more detail, or provide an overview. |
void |
setDocumentToolMode(int toolType)
Sets the tool mode used for the controller view. |
| Method Detail |
|---|
org.icepdf.core.pobjects.Document getDocument()
int getCurrentPageNumber()
float getUserRotation()
float getUserZoom()
DocumentViewController getDocumentViewController()
org.icepdf.core.search.DocumentSearchController getDocumentSearchController()
void setDocumentToolMode(int toolType)
toolType - tool mode constants defined in DocumentViewModeljava.util.ResourceBundle getMessageBundle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||