Changes between Version 10 and Version 11 of IMAGE_CONTENT_R0
- Timestamp:
- 12/15/08 14:35:24 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IMAGE_CONTENT_R0
v10 v11 8 8 9 9 == Overview == 10 You should be able to get the size of an image. 10 Image content is a content of a frame representing images. You should be able to obtain the same information you are 11 able to obtain for any other content/resource plus the size of the image. 11 12 12 13 == Task requirements == … … 20 21 == Implementation idea == 21 22 * Create class !ImageContent which is concrete implementation of org.sophie2.base.model.book.!FrameContent for images. 22 * !ImageContent must override mainResource() and returns aProp<!ImageResource>.23 * !ImageContent should override mainResource() and return Prop<!ImageResource>. 23 24 * Create class !ImageResource which is concrete implementation of org.sophie2.base.model.book.resource.!BookResource for image resources. 24 25 * !ImageResource should have method size() for retrieving the image size.