Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CSC305 Lecture 16
Search
Javier Gonzalez-Sanchez
PRO
October 28, 2024
0
180
CSC305 Lecture 16
Individual Software Design and Development
Decorator/Composite II
(202410)
Javier Gonzalez-Sanchez
PRO
October 28, 2024
Tweet
Share
More Decks by Javier Gonzalez-Sanchez
See All by Javier Gonzalez-Sanchez
CSC486 Lecture 11
javiergs
PRO
0
15
CSC486 Lecture 10
javiergs
PRO
0
46
CSC486 Lecture 08
javiergs
PRO
0
50
CSC486 Lecture 07
javiergs
PRO
0
97
CSC486 Lecture 06
javiergs
PRO
0
78
CSC486 Lecture 05
javiergs
PRO
0
68
CSC486 Lecture 04
javiergs
PRO
0
41
CSC486 Lecture 03
javiergs
PRO
0
22
CSC486 Lecture 02
javiergs
PRO
0
24
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
Testing 201, or: Great Expectations
jmmastey
42
7.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Fireside Chat
paigeccino
34
3.2k
For a Future-Friendly Web
brad_frost
176
9.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
A Philosophy of Restraint
colly
203
16k
BBQ
matthewcrist
87
9.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
550
Transcript
Dr. Javier Gonzalez-Sanchez
[email protected]
www.javiergs.info o ffi ce: 14 -227
CSC 305 Individual Software Design and Development Lecture 16. Decorator Pattern II
Previously
GoF Patterns 3
Connecting the Dots
Application 5
Application | GUI 6 Main JFrame ChartPanel JPanel
Application | Data Gathering 7 Main JFrame ChartPanel Thread Genius
JPanel
Application | Observer 8 Main JFrame ChartPanel Thread <<Singleton>> Board
Genius JPanel PropertyChange Listener PropertyChange Support
MarkerDecoratorShadow MarkerDecoratorDot MarkerSimple Application | Decorator 9 MarkerDecoratorDot MarkerSimple MarkerSimple
ChallengePlotter | Main 10 https://github.com/CSC3100/Patterns
ChallengePlotter | Genius | Runnable 11 https://github.com/CSC3100/Patterns
ChallengePlotter | Board | Singleton, Observable 12 https://github.com/CSC3100/Patterns
ChallengePlotter | ChartPanel | Observer 13 https://github.com/CSC3100/Patterns
ChallengePlotter | Marker | Decorator 14 https://github.com/CSC3100/Patterns
ChallengePlotter | MarkerDecorator | Decorator 15 https://github.com/CSC3100/Patterns
ChallengePlotter | MarkerDecoratorBar | Decorator 16 https://github.com/CSC3100/Patterns
ChallengePlotter | MarkerDecoratorDot | Decorator 17 https://github.com/CSC3100/Patterns
ChallengePlotter | MarkerSimple | Decorator 18 https://github.com/CSC3100/Patterns
Questions 19
Lab 11. Decorator II
Homework 1. Let’s add Decorations to our Shapes
Shape Decorator 22 New 1st-click 2nd-click 3rd-click 4th-click
GUI 23
CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D.
[email protected]
Summer 2024 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.