summaryrefslogtreecommitdiff
path: root/altosuilib/AltosUIMarker.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-01 12:28:34 -0800
committerKeith Packard <keithp@keithp.com>2013-03-01 12:28:34 -0800
commit351e4110f519d18bb36747955578e9e5b9aeec7b (patch)
treefdb39d5940b6090e29cb3d81c7b79c070e9d8de5 /altosuilib/AltosUIMarker.java
parentd0bd0093a65b73a178da6ddcafcc4dbaa3caca39 (diff)
altosuilib: Add setNotify/fireSeriesChanged methods to AltosUIGrapher
This will let the data adding functions disable notifications while adding all of the graph data, and then send a single notification when the data sets are complete, which speeds up creating of the graph elements quite a bit. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIMarker.java')
-rw-r--r--altosuilib/AltosUIMarker.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/altosuilib/AltosUIMarker.java b/altosuilib/AltosUIMarker.java
index e2eb9028..0949be6f 100644
--- a/altosuilib/AltosUIMarker.java
+++ b/altosuilib/AltosUIMarker.java
@@ -100,6 +100,12 @@ public class AltosUIMarker implements AltosUIGrapher {
this.enabled = enable;
}
+ public void setNotify(boolean notify) {
+ }
+
+ public void fireSeriesChanged() {
+ }
+
public AltosUIMarker (int fetch, Color color, XYPlot plot) {
this(fetch, color, plot, true);
}