aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jsyn/swing/XYController.java
diff options
context:
space:
mode:
authorPhil Burk <[email protected]>2016-03-23 09:26:52 -0700
committerPhil Burk <[email protected]>2016-03-23 09:26:52 -0700
commiteeafc364cbd39edc794748a0f2c0626e09ee9bb5 (patch)
tree5f4bef6827f6bd9c29b1ccdf8f2a1fde5000381c /src/com/jsyn/swing/XYController.java
parent8b705f45ff6618383c2df8d7bd14bd2b61e21cee (diff)
Add doc target to ant build.xml
Also fixed Javadoc errors.
Diffstat (limited to 'src/com/jsyn/swing/XYController.java')
-rw-r--r--src/com/jsyn/swing/XYController.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/jsyn/swing/XYController.java b/src/com/jsyn/swing/XYController.java
index b9cf90a..0d97c62 100644
--- a/src/com/jsyn/swing/XYController.java
+++ b/src/com/jsyn/swing/XYController.java
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,7 +21,7 @@ import javax.swing.JPanel;
/**
* Root class for 2 dimensional X,Y controller for wave editors, Theremins, etc. Maps pixel
* coordinates into "world" coordinates.
- *
+ *
* @author (C) 1997 Phil Burk, SoftSynth.com
*/
@@ -111,7 +111,7 @@ public class XYController extends JPanel {
return height - (int) (((wy - minWorldY) * height) / (maxWorldY - minWorldY));
}
- /** Clip wx to the min & max World X values. */
+ /** Clip wx to the min and max World X values. */
public double clipWorldX(double wx) {
if (wx < minWorldX)
wx = minWorldX;
@@ -120,7 +120,7 @@ public class XYController extends JPanel {
return wx;
}
- /** Clip wy to the min & max World Y values. */
+ /** Clip wy to the min and max World Y values. */
public double clipWorldY(double wy) {
if (wy < minWorldY)
wy = minWorldY;