Changes between Version 12 and Version 13 of FRAME_BOUNDS_R0
- Timestamp:
- 12/21/08 16:19:52 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FRAME_BOUNDS_R0
v12 v13 39 39 CONTENT; 40 40 41 * Create method setSize( ImmSize sizeToSet). It should take as argument the size in the current mode and calculate and return the size in default mode. This is the size of the frame content to be set.41 * Create method setSize(!ImmSize sizeToSet). It should take as argument the size in the current mode and calculate and return the size in default mode. This is the size of the frame content to be set. 42 42 43 * Create method ImmSize getSize(). It should calculate and return the size of the rectangle in the current mode.43 * Create method !ImmSize getSize(). It should calculate and return the size of the rectangle in the current mode. 44 44 45 * Create method setLocation( ImmPoint locationToSet). It should take as argument coordinates of the current mode rectangle. It should calculate and return the location in default mode. This is the location of the frame content to be set.45 * Create method setLocation(!ImmPoint locationToSet). It should take as argument coordinates of the current mode rectangle. It should calculate and return the location in default mode. This is the location of the frame content to be set. 46 46 47 * Create method ImmPoint getLocation(). It should calculate and return he location of of the rectangular in the current mode.47 * Create method !ImmPoint getLocation(). It should calculate and return he location of of the rectangular in the current mode. 48 48 49 * There should also be getRect( ImmRect contentRect) andImmRect setRect() methods using the above for getting and setting a Rectangular in current mode.49 * There should also be getRect(!ImmRect contentRect) and !ImmRect setRect() methods using the above for getting and setting a Rectangular in current mode. 50 50 51 * TestBoundMode demonstrates the use of those frame bounds functionalities in different modes.52 [source:trunk/sophie2-platform/modules//org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/ TestBoundMode.java?rev=991]51 * !TestBoundMode demonstrates the use of those frame bounds functionalities in different modes. 52 [source:trunk/sophie2-platform/modules//org.sophie2.base.model.book/src/test/java/org/sophie2/base/model/book/!TestBoundMode.java?rev=991] 53 53 54 54 55 55 = Implementation = 56 56 57 * [source:trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/main/java/org/sophie2/base/model/book/frame/ BoundMode.java?rev=991]57 * [source:trunk/sophie2-platform/modules/org.sophie2.base.model.book/src/main/java/org/sophie2/base/model/book/frame/!BoundMode.java?rev=991] 58 58 59 59 = Testing =