From e7e0deb5bbc879715f979d5e1fa40230e612b950 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Thu, 28 Aug 2003 17:34:09 +0000 Subject: UML diagram built with Argo UML (http://argouml.tigris.org) --- docs/teaching/exercises/figures.zargo | Bin 0 -> 21599 bytes docs/teaching/exercises/figures_classes.gif | Bin 0 -> 14202 bytes docs/teaching/exercises/figures_classes.svg | 298 ++++++++++++++++++++++++++++ 3 files changed, 298 insertions(+) create mode 100644 docs/teaching/exercises/figures.zargo create mode 100644 docs/teaching/exercises/figures_classes.gif create mode 100644 docs/teaching/exercises/figures_classes.svg diff --git a/docs/teaching/exercises/figures.zargo b/docs/teaching/exercises/figures.zargo new file mode 100644 index 000000000..c042c5969 Binary files /dev/null and b/docs/teaching/exercises/figures.zargo differ diff --git a/docs/teaching/exercises/figures_classes.gif b/docs/teaching/exercises/figures_classes.gif new file mode 100644 index 000000000..a5952fb9e Binary files /dev/null and b/docs/teaching/exercises/figures_classes.gif differ diff --git a/docs/teaching/exercises/figures_classes.svg b/docs/teaching/exercises/figures_classes.svg new file mode 100644 index 000000000..1e2587a82 --- /dev/null +++ b/docs/teaching/exercises/figures_classes.svg @@ -0,0 +1,298 @@ + + + + + + + + + + +<<Interface>> + + + +FigureElement + + + + + +move(dx: int,dy: int) : void + +getBounds() : Rectangle + +contains(p: Point2D) : boolean + +paint(g2: Graphics2D) : void + + + + + + + +ShapeFigureElement + + + + + +move(dx: int,dy: int) : void + +getShape() : Shape + +getBounds() : Rectangle + +contains(p: Point2D) : boolean + +getLineColor() : Color + +getFillColor() : Color + +paint(g2: Graphics2D) : void + + + + + + + +Group + + + +<<create>> Group(first: FigureElement) + +add(fe: FigureElement) : void + +members() : Iterator + +move(dx: int,dy: int) : void + +setIdentifier(identifier: String) : void + +toString() : String + +getBounds() : Rectangle + +contains(p: Point2D) : boolean + +paint(g2: Graphics2D) : void + +size() : int + + + + + + + +Point + + + +<<create>> Point(x: int,y: int) + +getX() : int + +getY() : int + +setX(x: int) : void + +setY(y: int) : void + +move(dx: int,dy: int) : void + +toString() : String + +getShape() : Shape + + + + + + + +Line + + + +<<create>> Line(p1: Point,p2: Point) + +getP1() : Point + +getP2() : Point + +move(dx: int,dy: int) : void + +toString() : String + +contains(p: Point2D) : boolean + +getLine2D() : Line2D + +getShape() : Shape + + + + + + + +Box + + + +<<create>> Box(x0: int,y0: int,width: int,height: int) + +getP0() : Point + +getP1() : Point + +getP2() : Point + +getP3() : Point + +move(dx: int,dy: int) : void + +checkBoxness() : void + +toString() : String + +getShape() : Shape + + + + + + + +SlothfulPoint + + + +<<create>> SlothfulPoint(x: int,y: int) + +getX() : int + +getY() : int + +setX(x: int) : void + +setY(y: int) : void + +move(dx: int,dy: int) : void + +toString() : String + +getShape() : Shape + + + + + + + +Log + + + + +data : List + + + + +traceObject(o: Object) : void + + +log(s: String) : void + + +getData() : List + + +clear() : void + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +* + + + + + + +2 + + + + + + +4 + -- cgit v1.2.3