Slide 1

Slide 1 text

Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227 CSC 305 Individual Software Design and Development Lecture 12. Connecting the Dots

Slide 2

Slide 2 text

Previously

Slide 3

Slide 3 text

GoF Patterns 3

Slide 4

Slide 4 text

Observer 4

Slide 5

Slide 5 text

Singleton 5

Slide 6

Slide 6 text

Composite 6

Slide 7

Slide 7 text

Application 7

Slide 8

Slide 8 text

Connecting the Dots

Slide 9

Slide 9 text

Application | GUI 9 Main JFrame ChartPanel JPanel

Slide 10

Slide 10 text

Application | Data Gathering 10 Main JFrame ChartPanel Thread Genius JPanel

Slide 11

Slide 11 text

Application | Observer 11 Main JFrame ChartPanel Thread <> Board Genius JPanel PropertyChange Listener PropertyChange Support

Slide 12

Slide 12 text

MarkerDecoratorShadow MarkerDecoratorDot MarkerSimple Application | Decorator 12 MarkerDecoratorDot MarkerSimple MarkerSimple

Slide 13

Slide 13 text

ChallengePlotter | Main 13 https://github.com/CSC3100/Patterns

Slide 14

Slide 14 text

ChallengePlotter | Genius | Runnable 14 https://github.com/CSC3100/Patterns

Slide 15

Slide 15 text

ChallengePlotter | Board | Singleton, Observable 15 https://github.com/CSC3100/Patterns

Slide 16

Slide 16 text

ChallengePlotter | ChartPanel | Observer 16 https://github.com/CSC3100/Patterns

Slide 17

Slide 17 text

ChallengePlotter | Marker | Decorator 17 https://github.com/CSC3100/Patterns

Slide 18

Slide 18 text

ChallengePlotter | MarkerDecorator | Decorator 18 https://github.com/CSC3100/Patterns

Slide 19

Slide 19 text

ChallengePlotter | MarkerDecoratorBar | Decorator 19 https://github.com/CSC3100/Patterns

Slide 20

Slide 20 text

ChallengePlotter | MarkerDecoratorDot | Decorator 20 https://github.com/CSC3100/Patterns

Slide 21

Slide 21 text

ChallengePlotter | MarkerSimple | Decorator 21 https://github.com/CSC3100/Patterns

Slide 22

Slide 22 text

Questions 22

Slide 23

Slide 23 text

Lab

Slide 24

Slide 24 text

GUI 24

Slide 25

Slide 25 text

Shape Decorator 25 New 1st-click 2nd-click 3rd-click 4th-click

Slide 26

Slide 26 text

Shape Decorator 26 New 1st-click 2nd-click 3rd-click 4th-click

Slide 27

Slide 27 text

CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D. [email protected] Winter 2025 Copyright. These slides can only be used as study material for the class CSC305 at Cal Poly. They cannot be distributed or used for another purpose.