Changes between Version 11 and Version 12 of BOOK_FULL_SCREEN_MODE_R0


Ignore:
Timestamp:
04/23/09 15:54:51 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_FULL_SCREEN_MODE_R0

    v11 v12  
    3232  * (true = full screen mode, false = normal mode) 
    3333 
    34  * Create a &View menu and a &Full Screen menu item. 
     34 * Create a View menu and a Full Screen menu item. 
    3535  * When selected, the fullScreenMode property is toggled. 
    3636 
     
    5050= Design = 
    5151 
     52 * Create a boolean property fullScreenMode in MainWindow. 
     53  * (true = full screen mode, false = normal mode) 
     54  * Implement it in DefaultMainWindow. 
     55 
     56 * Create a &View menu in {{{main.app.menus}}}. 
     57 * Create a &Full Screen menu item in the View menu. 
     58 
     59 * Make the main window's JFrame in full screen when fullScreenMode is true 
     60  * In MDMainWindow.globalContainer modify the {{{configureFrameSettings(JFrame gcf)}}} method 
     61  * When fullScreenMode is true: 
     62   * use {{{gcf.setUndecorated(true)}}} to remove the window title bar, border and all other decorations 
     63   * resize it to screen's dimensions 
     64   * move it to the top left corner 
     65 
     66 * Hide/show the left and right flap 
     67  * .............. 
     68 
     69 * Hide/show the tab bar 
     70  * in DefaultDocumentsDesktop.swingComponent, setup method, add the tab bar only if fullScreenMode is false. 
     71 
     72 * Maximize current document's window and hide its title bar 
     73  * in DefaultDocumentWindow.swingComponent, setup method, set different settings for the JInternalFrame 
     74   * for full screen mode: 
     75    * {{{res.setMaximum(true);}}} 
     76    * {{{res.setMaximizable(false);}}} 
     77    * {{{res.setIconifiable(false);}}} 
     78    * {{{res.setClosable(false);}}} 
     79    * {{{res.setResizable(false);}}} 
     80    * Hide the title bar: {{{ ((BasicInternalFrameUI)res.getUI()).setNorthPane(null); }}} 
     81 
    5282= Implementation = 
    5383^(Implementation results should be described and linked here (from the wiki or the repository))^