diff options
| author | Keith Packard <keithp@keithp.com> | 2013-03-01 12:28:34 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-03-01 12:28:34 -0800 |
| commit | 351e4110f519d18bb36747955578e9e5b9aeec7b (patch) | |
| tree | fdb39d5940b6090e29cb3d81c7b79c070e9d8de5 /altosuilib/AltosUIGrapher.java | |
| parent | d0bd0093a65b73a178da6ddcafcc4dbaa3caca39 (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/AltosUIGrapher.java')
| -rw-r--r-- | altosuilib/AltosUIGrapher.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/altosuilib/AltosUIGrapher.java b/altosuilib/AltosUIGrapher.java index c627fec5..8f0ce801 100644 --- a/altosuilib/AltosUIGrapher.java +++ b/altosuilib/AltosUIGrapher.java @@ -43,4 +43,8 @@ interface AltosUIGrapher { public abstract void add(AltosUIDataPoint dataPoint); public abstract void set_enable(boolean enable); + + public abstract void setNotify(boolean notify); + + public abstract void fireSeriesChanged(); } |
