308-203A Introduction to Computing II Lecture 4: Visual Programming A Case Study of OOP

9/19/00


Click here to start


Table of Contents

308-203A Introduction to Computing II Lecture 4: Visual Programming A Case Study of OOP

What is Visual Programming?

A good example of OOP

A Simplified Case-Study

A Simplified Case-Study

Helper Class “Coordinate”

The Class Hierarchy

Abstraction of “Drawing”

Abstraction of “Drawing”

Abstraction of “Drawing”

Making it more Concrete

So what’s the difference?

Screen

Desktop

Desktop is “Drawable,” too

DrawableVector

The Class Hierarchy (so far)

Any questions?

So what Drawables do we put on the Desktop?

Embedded Drawing Areas

Embedded Drawing Areas

Embedded Drawing Areas

Embedded Drawing Areas

Window

Window

TextWindow

The Class Hierarchy

Any questions?

Author: Alfred Holz

Email: wrenne@acm.org

Home Page: http://www.cs.mcgill.ca/~cs203