org.icepdf.ri.common.views
Class DocumentViewModelImpl

java.lang.Object
  extended by org.icepdf.ri.common.views.AbstractDocumentViewModel
      extended by org.icepdf.ri.common.views.DocumentViewModelImpl
All Implemented Interfaces:
DocumentViewModel

public class DocumentViewModelImpl
extends AbstractDocumentViewModel

Default Swing implementation of the AbstractDocumentViewModel class. The constructor for this class constructs the needed PageViewComponentImpl objects and associates a reference to the parent JScrollPane.

Swing specific setup is handle by this class.

Since:
2.5

Field Summary
 
Fields inherited from class org.icepdf.ri.common.views.AbstractDocumentViewModel
currentAnnotation, currentDocument, currentPageIndex, MAX_PAGE_SIZE_READ_AHEAD, oldPageIndex, oldUserRotation, oldUserToolModeFlag, oldUserZoom, pageBoundary, pageComponents, undoCaretaker, userRotation, userToolModeFlag, userZoom
 
Fields inherited from interface org.icepdf.ri.common.views.DocumentViewModel
DISPLAY_TOOL_CIRCLE_ANNOTATION, DISPLAY_TOOL_FREE_TEXT_ANNOTATION, DISPLAY_TOOL_HIGHLIGHT_ANNOTATION, DISPLAY_TOOL_INK_ANNOTATION, DISPLAY_TOOL_LINE_ANNOTATION, DISPLAY_TOOL_LINE_ARROW_ANNOTATION, DISPLAY_TOOL_LINK_ANNOTATION, DISPLAY_TOOL_NONE, DISPLAY_TOOL_PAN, DISPLAY_TOOL_SELECTION, DISPLAY_TOOL_SQUARE_ANNOTATION, DISPLAY_TOOL_SQUIGGLY_ANNOTATION, DISPLAY_TOOL_STRIKEOUT_ANNOTATION, DISPLAY_TOOL_TEXT_ANNOTATION, DISPLAY_TOOL_TEXT_SELECTION, DISPLAY_TOOL_UNDERLINE_ANNOTATION, DISPLAY_TOOL_WAIT, DISPLAY_TOOL_ZOOM_DYNAMIC, DISPLAY_TOOL_ZOOM_IN, DISPLAY_TOOL_ZOOM_OUT
 
Constructor Summary
DocumentViewModelImpl(org.icepdf.core.pobjects.Document document, javax.swing.JScrollPane parentScrollPane)
           
 
Method Summary
 
Methods inherited from class org.icepdf.ri.common.views.AbstractDocumentViewModel
addMemento, addSelectedPageText, clearSelectedPageText, dispose, getAnnotationCareTaker, getCurrentAnnotation, getDirtyTimer, getDocument, getPageBoundary, getPageBounds, getPageComponents, getSelectedPageText, getViewCurrentPageIndex, getViewRotation, getViewToolMode, getViewZoom, invalidate, isSelectAll, isViewToolModeSelected, removeSelectedPageText, setCurrentAnnotation, setPageBoundary, setSelectAll, setViewCurrentPageIndex, setViewRotation, setViewToolMode, setViewZoom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentViewModelImpl

public DocumentViewModelImpl(org.icepdf.core.pobjects.Document document,
                             javax.swing.JScrollPane parentScrollPane)