CSE1720_F11_Lecture03_Aggregation_Graphics.pptx

CSE1720_F11_Lecture03_Aggregation_Graphics.pptx -...

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

View Full Document Right Arrow Icon
CSE 1720 Lecture 3 Aggregation, Graphics Announcements: labs this week: – preparation for labtest #1; sample problems/tasks – guided demo: gesture tracking (MaxMSP) labs next week: – labtest #1 – given a description of some shape- and string-based images, implement the drawing using the services of Graphics2D – analogous to labtest #2 from cse1710 (which was based on pixel-based image modiFcation) 2 Goals/ To do: How to create, copy, and delegate to aggregates example aggregates: Pixel , Picture , Graphics2D Create, modify, and iterate over collections Implement traversal over a collection Implement search within a collection Use services of Graphics2D for drawing Goals/ To understand: recognize aggregates from their APIs characterize and distinguish between two traversal techniques distinguish between aliases, shallow copies, and deep copies of aggregrates understand the characteristics of the “current settings” graphical model 3 This module: 2-3 lectures background material: – Ch 8, JBA – Excerpts from other sources on website if/when they arise – CSE1710 ±11 Notes: Lectures 8, 9 4
Background image of page 1

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

View Full DocumentRight Arrow Icon
Quick Review: Basic Anatomy of a Class a class has members (aka “features”): – methods – attributes features can be private or public – the attributes that clients can access are called Felds method signatures must be unique – not only the method names, but also the parameter list – signature does not include the return attribute names must be unique When you use the services of a class, the compiler checks: – does the signature (or the attribute name ) match what is in the class deFnition? 5 RQ2.1-2.10 Quick Review: Method vs Attribute 6 RQ2.1-2.10 What is a method? performs some action
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

CSE1720_F11_Lecture03_Aggregation_Graphics.pptx -...

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

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