|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DocumentViewController
The DocumentViewControllerImpl is the controler in the MVC for multipage view management. This controller is used to manipulate the one column, one page, two column and two page views.
The Swing implementation of multiple view usesa the folowing MVC base classes:
AbstractDocumentView,
AbstractDocumentViewModel,
DocumentViewControllerImpl| Field Summary | |
|---|---|
static int |
CURSOR_CROSSHAIR
|
static int |
CURSOR_DEFAULT
|
static int |
CURSOR_HAND_ANNOTATION
|
static int |
CURSOR_HAND_CLOSE
|
static int |
CURSOR_HAND_OPEN
|
static int |
CURSOR_MAGNIFY
|
static int |
CURSOR_SELECT
|
static int |
CURSOR_TEXT_SELECTION
|
static int |
CURSOR_WAIT
|
static int |
CURSOR_ZOOM_IN
|
static int |
CURSOR_ZOOM_OUT
|
static int |
PAGE_FIT_ACTUAL_SIZE
Set the view to show the page at actual size |
static int |
PAGE_FIT_NONE
Set the view to show the page at the specified zoom level. |
static int |
PAGE_FIT_WINDOW_HEIGHT
Set the view to show the page at actual size |
static int |
PAGE_FIT_WINDOW_WIDTH
Set the view to show the page at actual size |
| Method Summary | |
|---|---|
void |
assignSelectedAnnotation(AnnotationComponent annotationComponent)
|
void |
clearHighlightedText()
|
void |
clearSelectedAnnotations()
|
void |
clearSelectedText()
|
void |
closeDocument()
|
void |
deleteAnnotation(AnnotationComponent annotationComponent)
|
void |
deleteCurrentAnnotation()
|
void |
dispose()
|
void |
firePropertyChange(java.lang.String event,
int oldValue,
int newValue)
|
void |
firePropertyChange(java.lang.String event,
java.lang.Object oldValue,
java.lang.Object newValue)
|
AnnotationCallback |
getAnnotationCallback()
|
int |
getCurrentPageDisplayValue()
|
int |
getCurrentPageIndex()
|
org.icepdf.core.pobjects.Document |
getDocument()
|
DocumentView |
getDocumentView()
|
DocumentViewModel |
getDocumentViewModel()
|
int |
getFitMode()
|
java.awt.Adjustable |
getHorizontalScrollBar()
|
Controller |
getParentController()
|
float |
getRotation()
|
org.icepdf.core.SecurityCallback |
getSecurityCallback()
|
java.lang.String |
getSelectedText()
|
int |
getToolMode()
|
java.awt.Adjustable |
getVerticalScrollBar()
|
java.awt.Container |
getViewContainer()
|
int |
getViewCursor()
|
java.awt.Cursor |
getViewCursor(int cursorType)
|
int |
getViewMode()
|
javax.swing.JViewport |
getViewPort()
|
float |
getZoom()
|
float[] |
getZoomLevels()
|
boolean |
isToolModeSelected(int viewToolMode)
|
void |
redo()
|
void |
requestViewFocusInWindow()
|
void |
selectAllText()
|
void |
setAnnotationCallback(AnnotationCallback annotationCallback)
|
boolean |
setCurrentPageIndex(int pageNumber)
|
int |
setCurrentPageNext()
|
int |
setCurrentPagePrevious()
|
void |
setDestinationTarget(org.icepdf.core.pobjects.Destination destination)
|
void |
setDocument(org.icepdf.core.pobjects.Document document)
|
void |
setDocumentViewType(int documentView,
int fitMode)
|
boolean |
setFitMode(int fitMode)
|
float |
setRotateLeft()
|
float |
setRotateRight()
|
boolean |
setRotation(float userRotation)
|
void |
setSecurityCallback(org.icepdf.core.SecurityCallback securityCallback)
|
boolean |
setToolMode(int viewToolMode)
|
void |
setViewCursor(int cursorType)
|
void |
setViewKeyListener(java.awt.event.KeyListener l)
|
void |
setViewType(int documentView)
|
boolean |
setZoom(float userZoom)
|
boolean |
setZoomCentered(float zoom,
java.awt.Point centeringPoint,
boolean becauseOfValidFitMode)
|
boolean |
setZoomIn()
|
boolean |
setZoomIn(java.awt.Point point)
|
void |
setZoomLevels(float[] zoomLevels)
|
boolean |
setZoomOut()
|
boolean |
setZoomOut(java.awt.Point point)
|
boolean |
setZoomToViewPort(float zoom,
java.awt.Point viewPortPosition,
int pageIndex,
boolean becauseOfValidFitMode)
|
void |
undo()
|
| Field Detail |
|---|
static final int PAGE_FIT_NONE
static final int PAGE_FIT_ACTUAL_SIZE
static final int PAGE_FIT_WINDOW_HEIGHT
static final int PAGE_FIT_WINDOW_WIDTH
static final int CURSOR_HAND_OPEN
static final int CURSOR_HAND_CLOSE
static final int CURSOR_ZOOM_IN
static final int CURSOR_ZOOM_OUT
static final int CURSOR_WAIT
static final int CURSOR_SELECT
static final int CURSOR_DEFAULT
static final int CURSOR_HAND_ANNOTATION
static final int CURSOR_TEXT_SELECTION
static final int CURSOR_CROSSHAIR
static final int CURSOR_MAGNIFY
| Method Detail |
|---|
void setDocument(org.icepdf.core.pobjects.Document document)
org.icepdf.core.pobjects.Document getDocument()
void closeDocument()
void dispose()
java.awt.Container getViewContainer()
Controller getParentController()
void setViewType(int documentView)
int getViewMode()
boolean setFitMode(int fitMode)
int getFitMode()
void setDocumentViewType(int documentView,
int fitMode)
boolean setCurrentPageIndex(int pageNumber)
int setCurrentPageNext()
int setCurrentPagePrevious()
void setDestinationTarget(org.icepdf.core.pobjects.Destination destination)
int getCurrentPageIndex()
int getCurrentPageDisplayValue()
void setZoomLevels(float[] zoomLevels)
float[] getZoomLevels()
boolean setZoom(float userZoom)
boolean setZoomIn()
boolean setZoomIn(java.awt.Point point)
boolean setZoomCentered(float zoom,
java.awt.Point centeringPoint,
boolean becauseOfValidFitMode)
boolean setZoomToViewPort(float zoom,
java.awt.Point viewPortPosition,
int pageIndex,
boolean becauseOfValidFitMode)
boolean setZoomOut()
boolean setZoomOut(java.awt.Point point)
float getZoom()
boolean setRotation(float userRotation)
float getRotation()
float setRotateRight()
float setRotateLeft()
boolean setToolMode(int viewToolMode)
int getToolMode()
boolean isToolModeSelected(int viewToolMode)
void requestViewFocusInWindow()
void setViewCursor(int cursorType)
java.awt.Cursor getViewCursor(int cursorType)
int getViewCursor()
void setViewKeyListener(java.awt.event.KeyListener l)
java.awt.Adjustable getHorizontalScrollBar()
java.awt.Adjustable getVerticalScrollBar()
javax.swing.JViewport getViewPort()
void setAnnotationCallback(AnnotationCallback annotationCallback)
void setSecurityCallback(org.icepdf.core.SecurityCallback securityCallback)
void deleteCurrentAnnotation()
void deleteAnnotation(AnnotationComponent annotationComponent)
void undo()
void redo()
AnnotationCallback getAnnotationCallback()
org.icepdf.core.SecurityCallback getSecurityCallback()
DocumentViewModel getDocumentViewModel()
DocumentView getDocumentView()
void clearSelectedText()
void clearHighlightedText()
void clearSelectedAnnotations()
void assignSelectedAnnotation(AnnotationComponent annotationComponent)
void selectAllText()
java.lang.String getSelectedText()
void firePropertyChange(java.lang.String event,
int oldValue,
int newValue)
void firePropertyChange(java.lang.String event,
java.lang.Object oldValue,
java.lang.Object newValue)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||