Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
130
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
CSC305 Lecture 24
javiergs
PRO
0
13
CSC509 Lecture 13
javiergs
PRO
0
120
CSC305 Lecture 23
javiergs
PRO
0
88
CSC305 Lecture 22
javiergs
PRO
0
31
CSC509 Lecture 12
javiergs
PRO
0
170
CSC305 Lecture 21
javiergs
PRO
0
92
CSC305 Lecture 20
javiergs
PRO
0
66
CSC305 Lecture 19
javiergs
PRO
0
62
CSC509 Lecture 11
javiergs
PRO
0
190
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
39
7.1k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Producing Creativity
orderedlist
PRO
341
39k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Happy Clients
brianwarren
98
6.7k
Designing Experiences People Love
moore
138
23k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Teambox: Starting and Learning
jrom
133
8.8k
Building Adaptive Systems
keathley
38
2.3k
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.