wiki:FRAME_FILLING_SOLID_R0
Last modified 16 years ago Last modified on 02/03/09 01:28:47

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=FRAME_FILLING_SOLID_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The frame could be filled with one SOLID color chosen by a color picker in the frame appearance hud.

Task requirements

  • If the STRONG filling is chosen, frame should be filled with the filling color.
  • Every time the user chooses filling color from the hud the frames filling changes.
  • The default option for filling is NONE.
  • If the user chooses the NONE filling type it should behave as STRONG filling with white color, opacity 1. This should not affect the first color in the frame model.

Task result

The result of this task is source code.

Implementation idea

The scene elements color should be auto calculated from the filling color in the frame model. Use the java.awt.Graphics2D methods to setPaint and fill the frame.

FRAME_APPEARANCE_HALO_AND_HUD_R0
FRAME_FILLING_GRADIENT_R0
FRAME_FILLING_PATTERN_R0
FRAME_FILLING_IMAGE_R0

How to demo

  • Demonstrate changing the color of the frames filling.
  • Change the filling type to NONE and then return it back to SOLID. Demonstrate that the previously chosen color is kept.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)