Changes between Version 19 and Version 20 of FRAME_TEMPLATES_R0


Ignore:
Timestamp:
01/15/09 18:11:17 (16 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_TEMPLATES_R0

    v19 v20  
    6464 * Create a class !TemplateField in the org.sophie2.base.model.book. This class will be used for properties that have value - calculated by the template, own value, and locked value. 
    6565 * Class Frame 
    66   * Create Frame value property template() which is the template of the Frame is. 
    67   * Create !FrameContent auto property content() which is the content of the frame. It will calculate if the frame has its own content. If the frame has its own content the content() will return the own content of the frame. Otherwise, it will return the content property of the frame template. 
     66  * Create Frame value property template() which is the template of the Frame. 
     67  * Create !FrameContent auto property content() which is the content of the frame. If the frame has its own content the content() will return the own content of the frame. Otherwise, it will return the content property of the frame template. 
     68 * Create @Own !FrameContent value property ownContent() which will return the own value of the content of the frame. 
    6869 * Create @Own !FrameContent auto property templatedContent() which will calculate the template of the !FrameContent of the Frame. 
    69  * Create @Own !FrameContent value property ownContent() which will return the own value of the content of the frame. 
    7070 * Create !TemplateField properties in the class Frame 
    7171  * contentSize() 
    7272  * contentBounds() 
    7373  * contentLocation() 
    74  * Create property border(), background(), paddingInsets(), marginInsets() 
     74 * Refactor properties border(), background(), paddingInsets(), marginInsets() of the Frame 
    7575 * Class !FrameContent 
    7676  * Create !FrameContent auto property template() which is template of the !FrameContent 
    77   * Create abstract FrameContent createTemplated() method which each concrete content should override. 
     77  * Create abstract FrameContent createTemplated() method which each concrete content should override. Every concrete class should define for itself how it will create a template. 
    7878 * Class !BackgroungStyle 
    7979  * Create abstract !BackgroundStyle template() property. 
    80   * Create !TemplateFields auto bgType(), bgColor(), bgImageResource(), bgOpacity(), bgGradient() properties. 
     80  * Create !TemplateFields auto bgType(), bgColor(), bgImageResource(), bgOpacity(), bgGradient() properties. (Refactor the current ones.) 
    8181 * Class !BorderStyle - change to abstract 
    8282  * Create abstract !BorderStyle template() property. 
     
    8484 * Class !ShadowStyle - change to abstract 
    8585  * Create abstract !ShadowStyle template() property. 
    86   * Create !TemplateFields auto position(), color(), opacity(), enabled(). 
     86  * Create !TemplateFields auto position(), color(), opacity(), enabled() properties. (Refactor the current ones.) 
     87 
     88 * The unit tests are org.sophie2.base.model.book.!TemplateFieldDemo and org.sophie2.base.model.book.!FrameTemplatesTest 
    8789 
    8890= Implementation =