Changes between Version 16 and Version 17 of FRAME_POSITION_R0


Ignore:
Timestamp:
12/21/08 16:46:39 (16 years ago)
Author:
mira
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_POSITION_R0

    v16 v17  
    3434 
    3535= Design = 
     36In the Frame class: 
     37  * Create locationToDo() property for the location of the frames default point in default mode. The name ends with "todo" because there is location 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 location().  
    3638 
     39  * Create boundsTodo() Auto property computed by the locationTodo and sizeTodo so that they could be manipulated simultaneously 
     40                 
     41  * Create the method !ImmPoint getLocation(!BoundMode mode, Position pos). Using the !BoundMode and !Position enums it should calculate the location of any of the interesting points of any of the bound modes rectangles.   
     42         
     43  * Create the method setLocation(!BoundMode mode, Position pos, !ImmPoint newLocation). The arguments represent the location of any of the interesting points of any of the bound modes rectangles.  Using the !BoundMode and !Position enums it should calculate the location of the default point in default mode. This is the location to be set in the Frame.       
     44 
     45* !TestBoundMode demonstrates the use of those frame bounds functionalities in different modes. 
     46[source:trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/TestFrameLocation.java?rev=992]  
     47  
    3748= Implementation = 
    38 ^(Implementation results should be described and linked here (from the wiki or the repository))^ 
     49[source:trunk/sophie2-platform/modules//org.sophie2.base.model.book/src/main/java/org/sophie2/base/model/book/Frame.java?rev=997] 
    3950 
    4051= Testing =