diff options
author | ArghKevin <kagheli@student.sdccd.edu> | 2024-05-08 21:24:42 -0700 |
---|---|---|
committer | ArghKevin <kagheli@student.sdccd.edu> | 2024-05-08 21:24:42 -0700 |
commit | 33cbc71a230e7522168fdfe41afd5e3acf5bb7b5 (patch) | |
tree | 64a0ed61c802009558f4c46f6ca8995df36d9137 /src/LineGraph.java | |
parent | ada80f74d26a632c1d6960f04f773f4fe51fc10d (diff) |
Javadoc beginning.
Diffstat (limited to 'src/LineGraph.java')
-rw-r--r-- | src/LineGraph.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/LineGraph.java b/src/LineGraph.java index b9642fb..b698462 100644 --- a/src/LineGraph.java +++ b/src/LineGraph.java @@ -7,7 +7,7 @@ import javax.swing.*; * References: * * Date: - * 2024-04-28 + * 2024-05-08 * * Purpose of class: * Draw a line graph. @@ -15,10 +15,18 @@ import javax.swing.*; public class LineGraph { int[][] coordinates; // A line graph has-a set of coordinates + + /* + * Constructor. + */ public LineGraph() { coordinates = null; } + + /* + * Set a point at a pair of coordinates. + */ void setCoordinates(int y, int x) { } } |