diff options
author | Keith Packard <keithp@keithp.com> | 2013-09-05 11:33:48 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-09-05 11:35:14 -0700 |
commit | 5b976a6651f4eb05d30afc08b9e1f27c7e52ae00 (patch) | |
tree | 3a8f38d92fdc3b3e9e62d7744ff93a0f9ca8f7dc /altosui/AltosGraphDataPoint.java | |
parent | b984ff81d6b8979574e0248ffe8876634b8e1942 (diff) |
altoslib: Finish AltosState changes. Update version number.
Removes all of the AltosRecord bits, changes the monitor idle bits to
have per-object state updaters.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphDataPoint.java')
-rw-r--r-- | altosui/AltosGraphDataPoint.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/altosui/AltosGraphDataPoint.java b/altosui/AltosGraphDataPoint.java index 85a19b00..d8191f5d 100644 --- a/altosui/AltosGraphDataPoint.java +++ b/altosui/AltosGraphDataPoint.java @@ -18,7 +18,7 @@ package altosui; import org.altusmetrum.altosuilib_1.*; -import org.altusmetrum.altoslib_1.*; +import org.altusmetrum.altoslib_2.*; public class AltosGraphDataPoint implements AltosUIDataPoint { @@ -49,7 +49,7 @@ public class AltosGraphDataPoint implements AltosUIDataPoint { } public double y(int index) throws AltosUIDataMissing { - double y = AltosRecord.MISSING; + double y = AltosLib.MISSING; switch (index) { case data_height: y = state.height(); @@ -100,7 +100,7 @@ public class AltosGraphDataPoint implements AltosUIDataPoint { y = state.pressure(); break; } - if (y == AltosRecord.MISSING) + if (y == AltosLib.MISSING) throw new AltosUIDataMissing(index); return y; } |