aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/testdata/figures-demo/figures/FigureElement.java
diff options
context:
space:
mode:
authormkersten <mkersten>2004-02-18 16:12:54 +0000
committermkersten <mkersten>2004-02-18 16:12:54 +0000
commit83198dbf96b93058941fe3d2f054d7cc42848172 (patch)
treeb271f8da64231abbf1268d6ea99241b925c3ef0d /ajdoc/testdata/figures-demo/figures/FigureElement.java
parent0d5096c9b943aa294b663890bd90423a8becfef2 (diff)
downloadaspectj-83198dbf96b93058941fe3d2f054d7cc42848172.tar.gz
aspectj-83198dbf96b93058941fe3d2f054d7cc42848172.zip
Lightweight ajdoc prototype.
Diffstat (limited to 'ajdoc/testdata/figures-demo/figures/FigureElement.java')
-rw-r--r--ajdoc/testdata/figures-demo/figures/FigureElement.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/ajdoc/testdata/figures-demo/figures/FigureElement.java b/ajdoc/testdata/figures-demo/figures/FigureElement.java
new file mode 100644
index 000000000..ae06c132b
--- /dev/null
+++ b/ajdoc/testdata/figures-demo/figures/FigureElement.java
@@ -0,0 +1,21 @@
+/*
+Copyright (c) 2001-2002 Palo Alto Research Center Incorporated. All Rights Reserved.
+ */
+
+package figures;
+
+import java.awt.*;
+import java.awt.geom.*;
+
+public interface FigureElement {
+ public static final int MIN_VALUE = 0;
+ public static final int MAX_VALUE = 500;
+
+ public abstract void move(int dx, int dy);
+
+ public abstract Rectangle getBounds();
+
+ public abstract boolean contains(Point2D p);
+
+ public abstract void paint(Graphics2D g2);
+}