Changes between Version 22 and Version 23 of FRAME_BORDERS_R0
- Timestamp:
- 12/12/08 19:39:17 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FRAME_BORDERS_R0
v22 v23 33 33 = Design = 34 34 35 * Create org.sophie2.base.model.book.!BorderProperties class 36 The new class should extend !BaseProObject class and have all needed properties for the borders definition: 37 * Float width() - the width of the border 35 * Create org.sophie2.base.model.book.!ColorProps class 36 The new class should extend !BaseProObject class and have needed properties for color definition: 38 37 * Color color() - the color of the border 39 38 * Float transparency() - the transparency of the border (an float between 0 and 1) 40 39 41 * Create org.sophie2.base.model.book. Borderclass42 The new class should extend !BaseProObject class and have four properties for the left, right, bottom and top borders:43 * ! BorderPropertiesleft()44 * ! BorderPropertiesright()45 * ! BorderPropertiesbottom()46 * ! BorderPropertiestop()40 * Create org.sophie2.base.model.book.Insets class 41 The new class should extend !BaseProObject class and have four properties for the left, right, bottom and top widths: 42 * !Float left() 43 * !Float right() 44 * !Float bottom() 45 * !Float top() 47 46 48 * Add Border border propertyto the Frame47 * Add !ColorProps color and !Insets !borderInsets properties to the Frame 49 48 50 49 * The demo test org.sophie2.base.model.book.!BordersTets.java tests creation and changing of frames with different borders.