com.icesoft.pdf.ri.common.views
Class DocumentViewModelImpl

java.lang.Object
  extended bycom.icesoft.pdf.ri.common.views.AbstractDocumentViewModel
      extended bycom.icesoft.pdf.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 com.icesoft.pdf.ri.common.views.AbstractDocumentViewModel
currentDocument, currentPageIndex, MAX_PAGE_SIZE_READ_AHEAD, maxPageInitThreads, maxPainterThreads, oldPageIndex, oldUserRotation, oldUserToolModeFlag, oldUserZoom, pageComponents, pageInitilizationThreadPool, pagePainterThreadPool, userRotation, userToolModeFlag, userZoom
 
Fields inherited from interface com.icesoft.pdf.views.DocumentViewModel
DISPLAY_TOOL_NONE, DISPLAY_TOOL_PAN, DISPLAY_TOOL_WAIT, DISPLAY_TOOL_ZOOM_IN, DISPLAY_TOOL_ZOOM_OUT
 
Constructor Summary
DocumentViewModelImpl(Document document, JScrollPane parentScrollPane)
           
 
Methods inherited from class com.icesoft.pdf.ri.common.views.AbstractDocumentViewModel
dispose, executePageInitialization, executePagePainter, getDocument, getPageBounds, getPageComponents, getViewCurrentPageIndex, getViewRotation, getViewToolMode, getViewZoom, isViewToolModeSelected, 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(Document document,
                             JScrollPane parentScrollPane)