Slide 1

Slide 1 text

jgs CSE 460 Software Analysis and Design Lecture 07: Object Model II Dr. Javier Gonzalez-Sanchez [email protected] javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment

Slide 2

Slide 2 text

jgs 460 00000111 Announcement § Quiz 02 is due today (February 3) 11:59 PM AZ time. It will open at the end of the lecture. Key ideas: (but not limited to) use case, activity, state, class diagrams.

Slide 3

Slide 3 text

jgs Previously

Slide 4

Slide 4 text

jgs 460 00000111 UML Diagrams

Slide 5

Slide 5 text

jgs 460 00000111 Class diagram Class diagrams show the classes in a system § modifiers § Attributes § methods And the relationships between these classes: § Association / Dependency § Aggregation / Composition § Generalization / Specialization / Realization

Slide 6

Slide 6 text

jgs Test Yourselves

Slide 7

Slide 7 text

jgs 460 00000111 Relationships? Student Person Professor

Slide 8

Slide 8 text

jgs 460 00000111 Relationships? Course Book Student Professor

Slide 9

Slide 9 text

jgs 460 00000111 Whiteboard Company Worker Tool

Slide 10

Slide 10 text

jgs Object-Oriented Design Class Diagram

Slide 11

Slide 11 text

jgs 460 00000111 Demo

Slide 12

Slide 12 text

jgs 460 00000111 Design KeyListener JFrame Game Ghost Pacman Maze PowerDot

Slide 13

Slide 13 text

jgs 460 00000111 Design Timer KeyListener JFrame ActionListener Game Ghost Pacman Maze Drawable PowerDot JPanel

Slide 14

Slide 14 text

jgs 460 00000111 Drawable

Slide 15

Slide 15 text

jgs 460 00000111 PowerDot

Slide 16

Slide 16 text

jgs 460 00000111 Pacman

Slide 17

Slide 17 text

jgs 460 00000111 Ghost

Slide 18

Slide 18 text

jgs To be continued…

Slide 19

Slide 19 text

jgs CSE 460 Software Analysis and Design Javier Gonzalez-Sanchez [email protected] Fall 2020 Disclaimer. These slides can only be used as study material for the class CSE460 at ASU. They cannot be distributed or used for another purpose.