Changes between Version 19 and Version 20 of FRAME_TEMPLATES_R0
- Timestamp:
- 01/15/09 18:11:17 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FRAME_TEMPLATES_R0
v19 v20 64 64 * 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. 65 65 * 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. 68 69 * 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.70 70 * Create !TemplateField properties in the class Frame 71 71 * contentSize() 72 72 * contentBounds() 73 73 * contentLocation() 74 * Create property border(), background(), paddingInsets(), marginInsets()74 * Refactor properties border(), background(), paddingInsets(), marginInsets() of the Frame 75 75 * Class !FrameContent 76 76 * 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. 78 78 * Class !BackgroungStyle 79 79 * 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.) 81 81 * Class !BorderStyle - change to abstract 82 82 * Create abstract !BorderStyle template() property. … … 84 84 * Class !ShadowStyle - change to abstract 85 85 * 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 87 89 88 90 = Implementation =