lecture7 - Design CRCCards UML Scenarios ViewEdit...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 1 Design See ViewEdit Frame wxScrolledWindow Document Actor Drawable Draws document in window Manages scrolling/scrollbars Selects for moving/rotating Move user interface Rotate user interface CRC Cards UML Scenarios
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 2 CRC Cards See http://c2.com/doc/oopsla89/paper.html ViewEdit Frame wxScrolledWindow C lass-R esponsibility-C ollaborator Cards Document Actor Drawable Draws document in window Manages scrolling/scrollbars Selects for moving/rotating Move user interface Rotate user interface Responsibilities Class Collaborators http://www.extremeprogramming.org/rules/crccards.htm : Window Inherits From
Background image of page 2
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 3 Basic CRC ideas Cards can be classes or objects of the class. Hold an object/set a class  is common Feel free to make extra cards for extra objects. Feel free to discard cards and replace or start over. Busy cards near center of table. Don’t place just in an empty spot. Placement helps describe collaborations Overlap means close control Adjacent implies communications Groupings are important Run simulations often
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 4 Design Example You are asked to design a personal finance program. A  person can have multiple bank accounts. The common  transactions are 
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

lecture7 - Design CRCCards UML Scenarios ViewEdit...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online