Changes between Version 15 and Version 16 of IMAGE_CONTENT_R0


Ignore:
Timestamp:
12/15/08 17:51:35 (16 years ago)
Author:
alex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IMAGE_CONTENT_R0

    v15 v16  
    88 
    99== Overview == 
    10  * Image content is a content of a frame representing images[[BR]] 
    11  * Image resources are resources for images[[BR]] 
    12  * Image resources have the same information as any other resources plus specific information about the images they are representing[[BR]] 
    13  * There should be drag and drop support, so images can be dropped onto frame so image content is created automatically from them[[BR]] 
    14  * There should be support for creating  a frame with image content by choosing an image file[[BR]] 
    15  * Images should support cropping, resizing, zooming[[BR]] 
     10 * Image content is a content of a frame representing images 
     11 * Image resources are resources for images 
     12 * Image resources have the same information as any other resources plus specific information about the images they are representing 
     13 * There should be drag and drop support, so images can be dropped onto frame so image content is created automatically from them 
     14 * There should be support for creating  a frame with image content by choosing an image file 
     15 * Images should support cropping, resizing, zooming 
    1616 
    1717== Task requirements == 
    18  * Define basic image content[[BR]] 
    19  * Define basic image resource[[BR]] 
    20  * You should be able to retrieve the size of an image[[BR]] 
     18 * Define basic image content 
     19 * Define basic image resource 
     20 * You should be able to retrieve the size of an image 
    2121 
    2222== Task result == 
     
    2424 
    2525== Implementation idea == 
    26  * Create class !ImageContent which is concrete implementation of org.sophie2.base.model.book.!FrameContent for images. 
    27  * !ImageContent should override mainResource() and return Prop<!ImageResource>. 
    28  * Create class !ImageResource which is concrete implementation of org.sophie2.base.model.book.resource.!BookResource for image resources. 
    29  * !ImageResource should have method size() for retrieving the image size. 
     26 * Create class !ImageContent which is concrete implementation of org.sophie2.base.model.book.!FrameContent for images 
     27 * !ImageContent should override mainResource() and return Prop<!ImageResource> 
     28 * Create class !ImageResource which is concrete implementation of org.sophie2.base.model.book.resource.!BookResource for image resources 
     29 * !ImageResource should have method size() for retrieving the image size 
    3030 
    3131== Related == 
     
    3434 
    3535== How to demo == 
    36 Create a frame with image resource. 
    37 Check if the resource is set correctly and check if the information about the resource is correct.  
    38 Try changing the resource and check again the same things. 
     36 * Create a frame with image resource 
     37 * Check if the resource is set correctly and check if the information about the resource is correct. 
     38 * Try changing the resource and check again the same things 
    3939 
    4040= Design =