diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2018-10-14 11:42:53 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2018-10-14 11:42:53 -0400 |
| commit | 8f42378c707c8c962082e394fe67ac3bb5cd557b (patch) | |
| tree | 9b4070c764b8d0ed792d9f79a66fc169a237b949 /CSMath/src/bezier/CurveEditor.java | |
| parent | f778a81e81506a4db455a6f506571c6bba935bf2 (diff) | |
General cleanup
Diffstat (limited to 'CSMath/src/bezier/CurveEditor.java')
| -rw-r--r-- | CSMath/src/bezier/CurveEditor.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CSMath/src/bezier/CurveEditor.java b/CSMath/src/bezier/CurveEditor.java index 70f1352..1d683f8 100644 --- a/CSMath/src/bezier/CurveEditor.java +++ b/CSMath/src/bezier/CurveEditor.java @@ -16,7 +16,7 @@ import javax.swing.border.TitledBorder; import bezier.geom.Bezier;
-/*
+/**
* Do editing of curve properties.
*/
public class CurveEditor implements ActionListener {
@@ -24,6 +24,12 @@ public class CurveEditor implements ActionListener { private JFrame fram;
private BezierPanel canvas;
+ /**
+ * Create a new curve property editor.
+ * @param fram The frame we came from.
+ * @param currentCurve The curve being edited.
+ * @param canvas The panel the curve is being drawn on.
+ */
public CurveEditor(JFrame fram, Holder<Bezier> currentCurve, BezierPanel canvas) {
this.fram = fram;
this.canvas = canvas;
|
