64 | | * HotText: ........... |
| 64 | * HotText: |
| 65 | * Create a class {{{DefaultHotTextSceneElement}}} |
| 66 | * in {{{org.sophie2.base.scene.impl}}} |
| 67 | * extends {{{DefaultSceneElement}}} |
| 68 | * implements {{{HotTextSceneElement}}} |
| 69 | * Move the {{{setupStatic}}} method from {{{HotTextContentView.HotTextSceneElementImpl}}}. |
| 70 | * Create a {{{layoutArea}}} property of type {{{ImmArea}}} which returns the value of {{{bounds}}} property. |
| 71 | * {{{textLayout}}} should be an auto property which returns {{{HotTextLayout}}} for the value of {{{text}}} and {{{layoutArea}}}. |
| 72 | * Refactor {{{HotTextContentView.HotTextSceneElementImpl}}}: |
| 73 | * extends {{{DefaultHotTextSceneElement}}} |
| 74 | * override {{{layoutArea}}} to distract the area of the overlapping frames (move the existing functionality). |
| 75 | * Create a class {{{StickyTextSceneElement}}} |
| 76 | * inner class for {{{StickyView}}} |
| 77 | * extends {{{DefaultHotTextSceneElement}}} |
| 78 | * override {{{setupDynamic}}} to set the bounds of the element - the sticky bounds without the title area |
| 79 | * override {{{text}}} - auto property returning new {{{NaiveHotText}}} with the sticky's text. |