From 9839b0b62d797a8616fc66038e3f3c68e2a214d0 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 9 Feb 2013 01:58:23 -0800 Subject: altosuilib: Add graphing routines from MicroPeak Make these available for AltosUI too Signed-off-by: Keith Packard --- altosuilib/AltosUIDataPoint.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 altosuilib/AltosUIDataPoint.java (limited to 'altosuilib/AltosUIDataPoint.java') diff --git a/altosuilib/AltosUIDataPoint.java b/altosuilib/AltosUIDataPoint.java new file mode 100644 index 00000000..38857fd1 --- /dev/null +++ b/altosuilib/AltosUIDataPoint.java @@ -0,0 +1,23 @@ +/* + * Copyright © 2013 Keith Packard + * + * 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. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +package org.altusmetrum.altosuilib_1; + +public interface AltosUIDataPoint { + public abstract double x(); + public abstract double y(int index); +} \ No newline at end of file -- cgit v1.2.3