Changes between Version 2 and Version 3 of FRAME_SIZE_R0


Ignore:
Timestamp:
12/21/08 17:04:17 (16 years ago)
Author:
mira
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_SIZE_R0

    v2 v3  
    3333 
    3434= Design = 
     35In the Frame class: 
     36  * Create sizeToDo() property for the size of the frames rectangle in default mode. This is the contents size. The name ends with "todo" because there is size property used by the !FrameView to visualize the frame with JComponents. In later revisions (when the JComponents are no longer used and the view is only creating scene elements) it should be changed to just size().  
    3537 
     38  * There should be Create boundsTodo() Auto property computed by the locationTodo and sizeTodo so that they could be manipulated simultaneously. If it is not created, create it, too. 
     39                 
     40  * Create the method !ImmSize getSize(!BoundMode mode). Using the !BoundMode enum it should calculate the size of any of the bound modes rectangles.   
     41         
     42  * Create the method setSize(!BoundMode mode, !ImmSize size). The arguments represent the size of any of the bound modes rectangles. Using the !BoundMode enum it should calculate the size of the default rectangular. This is the size of the frame content.          
     43 
     44* !TestBoundMode demonstrates the use of those frame bounds functionalities in different modes. 
     45[source:trunk/sophie2-platform/modules//org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/TestFrameSize.java?rev=992]  
     46  
    3647= Implementation = 
    37 ^(Implementation results should be described and linked here (from the wiki or the repository))^ 
     48[source:trunk/sophie2-platform/modules//org.sophie2.base.model.book/src/main/java/org/sophie2/base/model/book/Frame.java?rev=997] 
    3849 
    3950= Testing =