Changes between Version 45 and Version 46 of BOOK_WINDOW_R1


Ignore:
Timestamp:
05/24/09 20:48:38 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_WINDOW_R1

    v45 v46  
    5151= Design = 
    5252 
    53    1. Border: Remove the call to setBorder on the JInternalFrame in the setup() method of BookDocumentWindow.swingFrameSync().  This not only will remove the border, it brings back the title bar and window shadows on the Macintosh 
     53  1. Border: Remove the call to setBorder on the JInternalFrame in the setup() method of BookDocumentWindow.swingFrameSync().  This not only will remove the border, it brings back the title bar and window shadows on the Macintosh 
    5454 
    55   2. Due to time boxing, the issue with the window partially off screen not maximizing properly will be done in a later task 
     55  2. Removing the iconified book from the desktop - ie, handing iconification better 
    5656 
    57   3. Removing the iconified book from the desktop - ie, handing iconification better 
     57    2.1 - Add a method named show() to DefaultDocumentWindow that shows the document window and makes sure it is not iconified. 
    5858 
    59     3.1 - Add a method named show() to DefaultDocumentWindow that shows the document window and makes sure it is not iconified. 
     59    2.2 - When the swing frame is iconified in DefaultDocumentWindow, make sure Sophie knows it is deselected by calling userActs. This is important as the desktop panes only use swing calls to iconify/deiconify the window.  Also, set the window's visible to false so it does not show on the desktop. 
    6060 
    61     3.2 - When the swing frame is iconified in DefaultDocumentWindow, make sure Sophie knows it is deselected by calling userActs. This is important as the desktop panes only use swing calls to iconify/deiconify the window.  Also, set the window's visible to false so it does not show on the desktop. 
     61    2.3 - When the swing frame is decionified in DefaultDocumentWindow, make sure Sophie knows it is selected by calling userActs.  This is important as the desktop panes only use swing calls to iconify/deiconify the window. 
     62         
     63    2.4 - In BookLogic, when a book is selected, make sure it's window is told to show().  This ensures that anything in Sophie that selects a book (ie a click, or a menu item) makes sure that the window for the newly selected book is deiconified and showing. 
     64         
     65  3. The default position of the page work area should be at the center of the book window 
     66         
     67    3.1 TBD 
    6268 
    63     3.3 - When the swing frame is decionified in DefaultDocumentWindow, make sure Sophie knows it is selected by calling userActs.  This is important as the desktop panes only use swing calls to iconify/deiconify the window. 
     69  4.    Change the page work area to consider the size of the book window as well as the page 
     70 
     71    4.1 - Add minimalViewRect() property to minimalViewRect, which defines the smallest size a scene visual should be 
     72 
     73    4.2 - Modify SimpleSceneVisual actualViewRect() to take minimalViewRect into account 
     74 
     75    4.3 - Add a ComponentListener to DefaultDocumentWindow so that it can know when the swing internalFrame is resized 
     76 
     77    4.4 - Add a AutoProperty to DefaultDocumentWindow to track the window's size 
     78 
     79    4.5 - Add a resource property to PageWorkArea to track the document window's size and set it's minimalViewRect and repaint (force update) 
     80 
     81 
     82  5 - Define minimum size of the book window, so that scroll bars for the controls (bottom book panel) do not appear 
     83 
     84    5.1 -  Add getMinimalBookWindowSize() to XXX (DefaultDocumentWindow/ BookDocumentWindow) that returns the size of the window, but no smaller than the width of the book bottom panel. 
    6485         
    65     3.4 - In BookLogic, when a book is selected, make sure it's window is told to show().  This ensures that anything in Sophie that selects a book (ie a click, or a menu item) makes sure that the window for the newly selected book is deiconified and showing. 
    66          
    67   4. The default position of the page work area should be at the center of the book window 
    68          
    69     4.1 This will not be implemented, because the page work area should be the size of the window or the size of the bounds enclosing the frames, whichever is larger 
    70  
    71   5.    Change the page work area to consider the size of the book window as well as the page 
    72  
    73     5.1 - Add a call getMinimalBookWindowSize() to BookDocumentWindow that returns the size of the window, but no smaller than the width of the book bottom panel. 
    74          
    75     5.2 - Change the PageWorkArea logic to not only resize itself to the page size, but also it's parent window.  See 5.1 
    76          
    77  6. Will not make the background color skinnable in this task due to time boxing 
    78  
    79  7. Make sure that the logic to determine the book window is bounded by the book bottom panel.  In other words, when asked what the minimal book window size can be, the logic will not return a window narrower than the book panel.  This logic will be used by the PageWorkArea when considering how to size itself.  This will be done as a part of task requirement 5. 
     86    5.2 - Make sure the preferredSize for the scroll area does not get smaller than this size 
    8087 
    8188= Implementation =