CSE1720_F11_Lecture05_Aggregation_Graphics_III - CSE 1720...

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

View Full Document Right Arrow Icon
CSE 1720 Lecture 5 Aggregation, Graphics III 2 lab check-in Announcements: for labtest#1 (this week), be prepared to: – create and draw a picture from a jpg Fle – create and draw a blank white canvas with a speciFed dimension – superimpose on top of this picture additional 2D Graphics – be able to draw these 4 shapes: Line2D, Rectangle2D, RoundRectangle2D, Ellipse2D in various sizes and in various locations in Flled and non-Flled versions with various stroke thicknesses with various Flls (other solid colours and/or gradient paint) 3 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 4
Background image of page 1

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

View Full Document Right Arrow Icon
Today’s Topics Aggregations vs Composition 5 6 Aggregation/Composition Recap: The class Date see L05App01.java – a Date object can be used to represent a point in time – the key attribute of any date object is its time value (a long) the number of msec that have elapsed since unix epoch , Jan 01 00:00:00 UTC 1970 – accessor and mutator for Date object:
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.

{[ snackBarMessage ]}

Page1 / 5

CSE1720_F11_Lecture05_Aggregation_Graphics_III - CSE 1720...

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