StyleBrush
   7/13/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Style -> Brush -> None

   All tests done with line

    tool

Normal Graphics Component drawing.

It should be able to be shown that the brush behavior is independent of the type of Drawing Object being drawn on the screen.  All Tests done with line objects.

Pass.

2

Style -> Brush -> Solid

Is this different than none?

 

 

3

Style -> Brush-> Leftarrow

  

A line with a left facing arrow head at the terminal end.

 

Pass

4

Style -> Brush-> Rightarrow

  

A line with a right facing arrow head at the terminal end.

 

 

Pass

5

Style -> Brush-> Leftrightarrow

 

A line with a left facing arrow at the start point, and a right facing arrow at the terminal point.

 

Pass

6

Style -> Brush-> Dashedline

  

 

  

Dashed line

 

Pass

7

Style -> Brush-> Dottedline

 

  

Dotted line

 

There’s not a lot of perceivable difference between dotted and dashed.

8

Style -> Brush-> Thickline

 

  

A larger gauge line

 

Pass

9

Style -> Brush-> Color

 

  

A Jcolor chooser that allows a color to be selected.  All Drawing Components will be drawn with the choosen color.

Try a few different colors and draw.

Pass

10

Style -> Brush-> Edit

 

  

The ‘Customize Your Brush’ dialog.

 

The Banner doesn’t fit in the window, and it is not resizable.  Right now the banner says, “Customize Your Br”

11

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Width: 1

Allows adjustment of Drawing Component brush properties.

Make it small.

No visible change

12

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Width: 11

 

Make it big

No visible change

13

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Width: 11

   Dash Sequence: -.-

Alter the way in which lines are rendered through the use of keyboard characters.

 

It did something, but definitely not he characters I entered.  It may be related to the ‘Width’ field not working, making the sequence to small and not renderable.

14

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Head Arrow: on

   Tail Arrow: off

Attach arrows to the head or tail of the custom sequence.

 

Pass

15

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Head Arrow: off

   Tail Arrow: on

 

 

Pass

16

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Head Arrow: on

   Tail Arrow: on

 

 

Pass

17

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Head Arrow: on

   Tail Arrow: on

   Dash sequence: .-.-

  

   View button pressed.

A preview of the current brush in the preview window.

 

The preview was accurate as far as the functionality for the Width, Dash sequence, head/tail arrow functions operate as of right now.

18

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Head Arrow: on

   Tail Arrow: on

   Dash sequence: .-.-

  

   cancel button pressed.

A preview of the current brush in the preview window.

 

Had one lock up here, couldn’t reproduce.

19

Style -> Brush-> Edit

   ‘Customize Your Brush’

    dialog.

 

   Head Arrow: on

   Tail Arrow: on

   Dash sequence: .-.-

  

   Ok button pressed.

 

    Sytle -> Brush -> Edit

    Invoked a second time.

The current settings of the brush

 

The brush property fields are not persistant.