Changes between Version 19 and Version 20 of PAGE_PREVIEW_PALETTE_R0


Ignore:
Timestamp:
06/12/09 21:04:16 (16 years ago)
Author:
sveto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PAGE_PREVIEW_PALETTE_R0

    v19 v20  
    3535 
    3636 * Most of the functionality is in place. 
    37  * We need to add a ReadPageWorkArea and a SimpleSceneVisual property in PagePreviewPalette. The ReadPageWorkArea should be used to set the current page as the page changes so a Scene object can be extracted from it. The Scene object should be set in the SimpleSceneVisual object to initiliaze it. In PagePreviewPaletteCellRenderer a java.awt.Component is obtained from the SimpleSceneVisual and SwingUtilities is used to draw it to the graphic in the paint method of the PageThumbnail - a JPanel subclass of PagePreviewPaletteCellRenderer used to draw a JList element. Before the drawing the Graphics object is scaled by the ratio of thumbwidth/pagewidth. 
     37 * We need to add a ReadPageWorkArea and a SimpleSceneVisual property in PagePreviewPalette. The ReadPageWorkArea should be used to set the current page as the page changes so a Scene object can be extracted from it. The Scene object should be set in the SimpleSceneVisual object to initiliaze it. In PagePreviewPaletteCellRenderer a java.awt.Component is obtained from the SimpleSceneVisual and SceneHelper is used to draw it to the graphic. Before the drawing the Graphics object is scaled by the ratio of thumbwidth/pagewidth. 
    3838 * Functionality for setting the selected thumbnail as current page is already in place. 
    3939 * Functionality for deleting a page is already in place.