diff options
author | ehilsdal <ehilsdal> | 2003-08-27 20:13:05 +0000 |
---|---|---|
committer | ehilsdal <ehilsdal> | 2003-08-27 20:13:05 +0000 |
commit | 910f2658b1342cd4a3b22169895c71fa8b48279c (patch) | |
tree | 9a1b7d32e315012600d5cd4bb6a7720a8e1d85e4 /docs/teaching/exercises/figures | |
parent | 3fa486456c61e332341ccfb634a72920b6467c50 (diff) | |
download | aspectj-910f2658b1342cd4a3b22169895c71fa8b48279c.tar.gz aspectj-910f2658b1342cd4a3b22169895c71fa8b48279c.zip |
untabified
Diffstat (limited to 'docs/teaching/exercises/figures')
-rw-r--r-- | docs/teaching/exercises/figures/Box.java | 16 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/FigureElement.java | 16 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/Group.java | 16 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/Line.java | 18 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/Point.java | 18 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/ShapeFigureElement.java | 16 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/SlothfulPoint.java | 20 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/gui/FigurePanel.java | 16 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/gui/LogAdapter.java | 16 | ||||
-rw-r--r-- | docs/teaching/exercises/figures/gui/Main.java | 16 |
10 files changed, 84 insertions, 84 deletions
diff --git a/docs/teaching/exercises/figures/Box.java b/docs/teaching/exercises/figures/Box.java index b10faa612..b792e0de9 100644 --- a/docs/teaching/exercises/figures/Box.java +++ b/docs/teaching/exercises/figures/Box.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ diff --git a/docs/teaching/exercises/figures/FigureElement.java b/docs/teaching/exercises/figures/FigureElement.java index d6d5c261c..22bb579a9 100644 --- a/docs/teaching/exercises/figures/FigureElement.java +++ b/docs/teaching/exercises/figures/FigureElement.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ diff --git a/docs/teaching/exercises/figures/Group.java b/docs/teaching/exercises/figures/Group.java index ad2f224c6..ff9bb8529 100644 --- a/docs/teaching/exercises/figures/Group.java +++ b/docs/teaching/exercises/figures/Group.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ diff --git a/docs/teaching/exercises/figures/Line.java b/docs/teaching/exercises/figures/Line.java index f21c1eff1..a26c4ee42 100644 --- a/docs/teaching/exercises/figures/Line.java +++ b/docs/teaching/exercises/figures/Line.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ @@ -51,7 +51,7 @@ public class Line extends ShapeFigureElement { } private Line2D getLine2D() { - return new Line2D.Float((float)getP1().getX(), + return new Line2D.Float((float)getP1().getX(), (float)getP1().getY(), (float)getP2().getX(), (float)getP2().getY()); diff --git a/docs/teaching/exercises/figures/Point.java b/docs/teaching/exercises/figures/Point.java index 63126d96f..616e1afbd 100644 --- a/docs/teaching/exercises/figures/Point.java +++ b/docs/teaching/exercises/figures/Point.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ @@ -49,7 +49,7 @@ public class Point extends ShapeFigureElement { private final static int WIDTH = Point.HEIGHT; public Shape getShape() { - return new Ellipse2D.Float((float)getX()-Point.WIDTH/2, + return new Ellipse2D.Float((float)getX()-Point.WIDTH/2, (float)getY()-Point.HEIGHT/2, (float)Point.HEIGHT, (float)Point.WIDTH); diff --git a/docs/teaching/exercises/figures/ShapeFigureElement.java b/docs/teaching/exercises/figures/ShapeFigureElement.java index b09bad10e..7a98867c3 100644 --- a/docs/teaching/exercises/figures/ShapeFigureElement.java +++ b/docs/teaching/exercises/figures/ShapeFigureElement.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ diff --git a/docs/teaching/exercises/figures/SlothfulPoint.java b/docs/teaching/exercises/figures/SlothfulPoint.java index ede073b24..8bdfbee82 100644 --- a/docs/teaching/exercises/figures/SlothfulPoint.java +++ b/docs/teaching/exercises/figures/SlothfulPoint.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ @@ -35,7 +35,7 @@ public class SlothfulPoint extends ShapeFigureElement { public void setY(int y) { } public void move(int dx, int dy) { - System.out.println("Slothful moving"); + System.out.println("Slothful moving"); } public String toString() { @@ -43,7 +43,7 @@ public class SlothfulPoint extends ShapeFigureElement { } public Shape getShape() { - return new Ellipse2D.Float((float)_x, + return new Ellipse2D.Float((float)_x, (float)_y, 1.0f, 1.0f); } } diff --git a/docs/teaching/exercises/figures/gui/FigurePanel.java b/docs/teaching/exercises/figures/gui/FigurePanel.java index 4746bc057..669cb83ed 100644 --- a/docs/teaching/exercises/figures/gui/FigurePanel.java +++ b/docs/teaching/exercises/figures/gui/FigurePanel.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ diff --git a/docs/teaching/exercises/figures/gui/LogAdapter.java b/docs/teaching/exercises/figures/gui/LogAdapter.java index 9d7d7d94d..d7cd2ef6d 100644 --- a/docs/teaching/exercises/figures/gui/LogAdapter.java +++ b/docs/teaching/exercises/figures/gui/LogAdapter.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ diff --git a/docs/teaching/exercises/figures/gui/Main.java b/docs/teaching/exercises/figures/gui/Main.java index c2d41c3b0..a3456c921 100644 --- a/docs/teaching/exercises/figures/gui/Main.java +++ b/docs/teaching/exercises/figures/gui/Main.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ |