|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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_DEFAULT
|
static int |
CURSOR_HAND_ANNOTATION
|
static int |
CURSOR_HAND_CLOSE
|
static int |
CURSOR_HAND_OPEN
|
static int |
CURSOR_SELECT
|
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 |
| Field Detail |
public static final int PAGE_FIT_NONE
public static final int PAGE_FIT_ACTUAL_SIZE
public static final int PAGE_FIT_WINDOW_HEIGHT
public static final int PAGE_FIT_WINDOW_WIDTH
public static final int CURSOR_HAND_OPEN
public static final int CURSOR_HAND_CLOSE
public static final int CURSOR_ZOOM_IN
public static final int CURSOR_ZOOM_OUT
public static final int CURSOR_WAIT
public static final int CURSOR_SELECT
public static final int CURSOR_DEFAULT
public static final int CURSOR_HAND_ANNOTATION
| Method Detail |
public void setDocument(Document document)
public Document getDocument()
public void closeDocument()
public void dispose()
public Container getViewContainer()
public Controller getParentController()
public void setViewType(int documentView)
public int getViewMode()
public boolean setFitMode(int fitMode)
public int getFitMode()
public void setDocumentViewType(int documentView,
int fitMode)
public boolean setCurrentPageIndex(int pageNumber)
public int setCurrentPageNext()
public int setCurrentPagePrevious()
public void setDestinationTarget(Destination destination)
public int getCurrentPageIndex()
public int getCurrentPageDisplayValue()
public void setZoomLevels(float[] zoomLevels)
public float[] getZoomLevels()
public boolean setZoom(float userZoom)
public boolean setZoomIn()
public boolean setZoomIn(Point point)
public boolean setZoomOut()
public boolean setZoomOut(Point point)
public float getZoom()
public boolean setRotation(float userRotation)
public float getRotation()
public float setRotateRight()
public float setRotateLeft()
public boolean setToolMode(int viewToolMode)
public int getToolMode()
public boolean isToolModeSelected(int viewToolMode)
public void requestViewFocusInWindow()
public void setViewCursor(int cursorType)
public Cursor getViewCursor(int cursorType)
public void setViewKeyListener(KeyListener l)
public Adjustable getHorizontalScrollBar()
public Adjustable getVerticalScrollBar()
public void setAnnotationCallback(AnnotationCallback annotationCallback)
public AnnotationCallback getAnnotationCallback()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||