X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosuilib%2FAltosUIGrapher.java;h=9bb91340347372a5655e366b0ee260b553ee4378;hp=d826072fee0eacd24c07e320a52663c2fbd7781d;hb=8ec59ee5a6dda114ff55a4af4669842eed5ef79a;hpb=5b976a6651f4eb05d30afc08b9e1f27c7e52ae00 diff --git a/altosuilib/AltosUIGrapher.java b/altosuilib/AltosUIGrapher.java index d826072f..9bb91340 100644 --- a/altosuilib/AltosUIGrapher.java +++ b/altosuilib/AltosUIGrapher.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,14 +16,14 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altosuilib_1; +package org.altusmetrum.altosuilib_11; import java.io.*; import java.util.ArrayList; import java.awt.*; import javax.swing.*; -import org.altusmetrum.altoslib_2.*; +import org.altusmetrum.altoslib_11.*; import org.jfree.ui.*; import org.jfree.chart.*; @@ -37,7 +38,9 @@ import org.jfree.data.*; interface AltosUIGrapher { public abstract void set_units(); - + + public abstract boolean need_reset(); + public abstract void clear(); public abstract void add(AltosUIDataPoint dataPoint);