Interaction Diagrams Collaboration Diagram - Example
:Controller
:Window
:Line {new}
left: Bead
right: Bead
window
redisplay()
«parameter» window
1.1.3.1: add(self)
contents {new}
1.1.2: create(r0,r1)
1.1.3: display(window)
1: displayPositions
(window)
wire
1.1.1b: r1:=position()
1.1.1a: r0:=position()
1.1*[i:=1..n]: draw Segment(i)
wire: Wire
«local» line
i-1
i
«self»
[from Rumbaugh et al. 1999, p.202]
Previous slide
Next slide
Back to first slide
View graphic version