summaryrefslogtreecommitdiff
path: root/altosuilib
diff options
context:
space:
mode:
Diffstat (limited to 'altosuilib')
-rw-r--r--altosuilib/AltosDeviceDialog.java2
-rw-r--r--altosuilib/AltosUIAxis.java2
-rw-r--r--altosuilib/AltosUIEnable.java2
-rw-r--r--altosuilib/AltosUIFrame.java10
-rw-r--r--altosuilib/AltosUIGraph.java4
-rw-r--r--altosuilib/AltosUIGrapher.java2
-rw-r--r--altosuilib/AltosUIMarker.java2
-rw-r--r--altosuilib/AltosUIPreferencesBackend.java2
-rw-r--r--altosuilib/AltosUISeries.java4
9 files changed, 15 insertions, 15 deletions
diff --git a/altosuilib/AltosDeviceDialog.java b/altosuilib/AltosDeviceDialog.java
index 73bc0b2f..0a3ddb7b 100644
--- a/altosuilib/AltosDeviceDialog.java
+++ b/altosuilib/AltosDeviceDialog.java
@@ -30,7 +30,7 @@ public abstract class AltosDeviceDialog extends AltosUIDialog implements ActionL
public Frame frame;
public int product;
public JPanel buttonPane;
-
+
public AltosDevice getValue() {
return value;
}
diff --git a/altosuilib/AltosUIAxis.java b/altosuilib/AltosUIAxis.java
index 1638ea29..7bc2def9 100644
--- a/altosuilib/AltosUIAxis.java
+++ b/altosuilib/AltosUIAxis.java
@@ -50,7 +50,7 @@ public class AltosUIAxis extends NumberAxis {
public void set_units() {
setLabel(String.format("%s (%s)", label, units.show_units()));
}
-
+
public void set_enable(boolean enable) {
if (enable) {
visible++;
diff --git a/altosuilib/AltosUIEnable.java b/altosuilib/AltosUIEnable.java
index ea4bd00a..40b5f087 100644
--- a/altosuilib/AltosUIEnable.java
+++ b/altosuilib/AltosUIEnable.java
@@ -56,7 +56,7 @@ public class AltosUIEnable extends Container {
this.name = name;
this.grapher = grapher;
enable = new JRadioButton(name, enabled);
- grapher.set_enable(enabled);
+ grapher.set_enable(enabled);
enable.addActionListener(this);
}
}
diff --git a/altosuilib/AltosUIFrame.java b/altosuilib/AltosUIFrame.java
index 3fc99910..3dc2a0ad 100644
--- a/altosuilib/AltosUIFrame.java
+++ b/altosuilib/AltosUIFrame.java
@@ -45,7 +45,7 @@ public class AltosUIFrame extends JFrame implements AltosUIListener, AltosPositi
};
static public String[] icon_names;
-
+
static public void set_icon_names(String[] new_icon_names) { icon_names = new_icon_names; }
public String[] icon_names() {
@@ -57,7 +57,7 @@ public class AltosUIFrame extends JFrame implements AltosUIListener, AltosPositi
public void set_icon() {
ArrayList<Image> icons = new ArrayList<Image>();
String[] icon_names = icon_names();
-
+
for (int i = 0; i < icon_names.length; i++) {
java.net.URL imgURL = AltosUIFrame.class.getResource(icon_names[i]);
if (imgURL != null)
@@ -65,14 +65,14 @@ public class AltosUIFrame extends JFrame implements AltosUIListener, AltosPositi
}
setIconImages(icons);
}
-
+
private boolean location_by_platform = true;
public void setLocationByPlatform(boolean lbp) {
location_by_platform = lbp;
super.setLocationByPlatform(lbp);
}
-
+
public void setSize() {
/* Smash sizes around so that the window comes up in the right shape */
Insets i = getInsets();
@@ -153,7 +153,7 @@ public class AltosUIFrame extends JFrame implements AltosUIListener, AltosPositi
setPosition(position);
}
}
-
+
void init() {
AltosUIPreferences.register_ui_listener(this);
AltosUIPreferences.register_position_listener(this);
diff --git a/altosuilib/AltosUIGraph.java b/altosuilib/AltosUIGraph.java
index 061a7629..21e13cf6 100644
--- a/altosuilib/AltosUIGraph.java
+++ b/altosuilib/AltosUIGraph.java
@@ -82,7 +82,7 @@ public class AltosUIGraph implements AltosUnitsListener {
public void addSeries(String label, int fetch, AltosUnits units, Color color) {
addSeries(label, fetch, units, color, true, newAxis(label, units, color));
}
-
+
public void addMarker(String label, int fetch, Color color) {
AltosUIMarker marker = new AltosUIMarker(fetch, color, plot);
if (enable != null)
@@ -131,7 +131,7 @@ public class AltosUIGraph implements AltosUnitsListener {
this.axis_index = 0;
xAxis = new NumberAxis("Time (s)");
-
+
xAxis.setAutoRangeIncludesZero(true);
plot = new XYPlot();
diff --git a/altosuilib/AltosUIGrapher.java b/altosuilib/AltosUIGrapher.java
index 23e7d9f0..54f8d5a9 100644
--- a/altosuilib/AltosUIGrapher.java
+++ b/altosuilib/AltosUIGrapher.java
@@ -37,7 +37,7 @@ import org.jfree.data.*;
interface AltosUIGrapher {
public abstract void set_units();
-
+
public abstract void clear();
public abstract void add(AltosUIDataPoint dataPoint);
diff --git a/altosuilib/AltosUIMarker.java b/altosuilib/AltosUIMarker.java
index ae8eb034..efd27921 100644
--- a/altosuilib/AltosUIMarker.java
+++ b/altosuilib/AltosUIMarker.java
@@ -41,7 +41,7 @@ public class AltosUIMarker implements AltosUIGrapher {
boolean enabled;
int fetch;
Color color;
-
+
private void remove_markers() {
for (ValueMarker marker : markers)
plot.removeDomainMarker(marker);
diff --git a/altosuilib/AltosUIPreferencesBackend.java b/altosuilib/AltosUIPreferencesBackend.java
index 64d3e3df..d6575717 100644
--- a/altosuilib/AltosUIPreferencesBackend.java
+++ b/altosuilib/AltosUIPreferencesBackend.java
@@ -25,7 +25,7 @@ import javax.swing.filechooser.FileSystemView;
public class AltosUIPreferencesBackend implements AltosPreferencesBackend {
private Preferences _preferences = null;
-
+
public AltosUIPreferencesBackend() {
_preferences = Preferences.userRoot().node("/org/altusmetrum/altosui");
}
diff --git a/altosuilib/AltosUISeries.java b/altosuilib/AltosUISeries.java
index 1f2a1c3f..c17175e4 100644
--- a/altosuilib/AltosUISeries.java
+++ b/altosuilib/AltosUISeries.java
@@ -38,7 +38,7 @@ class AltosUITime extends AltosUnits {
public double value(double v, boolean imperial_units) { return v; }
public double inverse(double v, boolean imperial_unis) { return v; }
-
+
public String show_units(boolean imperial_units) { return "s"; }
public String say_units(boolean imperial_units) { return "seconds"; }
@@ -60,7 +60,7 @@ public class AltosUISeries extends XYSeries implements AltosUIGrapher {
XYItemRenderer renderer;
int fetch;
boolean enable;
-
+
public void set_units() {
axis.set_units();
StandardXYToolTipGenerator ttg;