forked from lidi100/MeteoInfoLib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wyq
committed
Aug 24, 2014
1 parent
ef96938
commit 1d33f39
Showing
60 changed files
with
6,954 additions
and
173 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
src/org/meteoinfo/chart/data/general/SeriesChangeEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* =========================================================== | ||
* JFreeChart : a free chart library for the Java(tm) platform | ||
* =========================================================== | ||
* | ||
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. | ||
* | ||
* Project Info: http://www.jfree.org/jfreechart/index.html | ||
* | ||
* This library is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation; either version 2.1 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This library 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 Lesser General Public | ||
* License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
* USA. | ||
* | ||
* [Oracle and Java are registered trademarks of Oracle and/or its affiliates. | ||
* Other names may be trademarks of their respective owners.] | ||
* | ||
* ---------------------- | ||
* SeriesChangeEvent.java | ||
* ---------------------- | ||
* (C) Copyright 2001-2008, by Object Refinery Limited. | ||
* | ||
* Original Author: David Gilbert (for Object Refinery Limited); | ||
* Contributor(s): -; | ||
* | ||
* Changes | ||
* ------- | ||
* 15-Nov-2001 : Version 1 (DG); | ||
* 18-Aug-2003 : Implemented Serializable (DG); | ||
* | ||
*/ | ||
|
||
package org.meteoinfo.chart.data.general; | ||
|
||
import java.io.Serializable; | ||
import java.util.EventObject; | ||
|
||
/** | ||
* An event with details of a change to a series. | ||
*/ | ||
public class SeriesChangeEvent extends EventObject implements Serializable { | ||
|
||
/** For serialization. */ | ||
private static final long serialVersionUID = 1593866085210089052L; | ||
|
||
/** | ||
* Constructs a new event. | ||
* | ||
* @param source the source of the change event. | ||
*/ | ||
public SeriesChangeEvent(Object source) { | ||
super(source); | ||
} | ||
|
||
} |
59 changes: 59 additions & 0 deletions
59
src/org/meteoinfo/chart/data/general/SeriesChangeListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* =========================================================== | ||
* JFreeChart : a free chart library for the Java(tm) platform | ||
* =========================================================== | ||
* | ||
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. | ||
* | ||
* Project Info: http://www.jfree.org/jfreechart/index.html | ||
* | ||
* This library is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation; either version 2.1 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This library 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 Lesser General Public | ||
* License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
* USA. | ||
* | ||
* [Oracle and Java are registered trademarks of Oracle and/or its affiliates. | ||
* Other names may be trademarks of their respective owners.] | ||
* | ||
* ------------------------- | ||
* SeriesChangeListener.java | ||
* ------------------------- | ||
* (C) Copyright 2001-2008, by Object Refinery Limited. | ||
* | ||
* Original Author: David Gilbert (for Object Refinery Limited); | ||
* Contributor(s): -; | ||
* | ||
* Changes | ||
* ------- | ||
* 15-Nov-2001 : Version 1 (DG); | ||
* 26-Jun-2003 : Now extends EventListener so we can use the EventListenerList | ||
* mechanism (DG); | ||
* | ||
*/ | ||
|
||
package org.meteoinfo.chart.data.general; | ||
|
||
import java.util.EventListener; | ||
|
||
/** | ||
* Methods for receiving notification of changes to a data series. | ||
*/ | ||
public interface SeriesChangeListener extends EventListener { | ||
|
||
/** | ||
* Called when an observed series changes in some way. | ||
* | ||
* @param event information about the change. | ||
*/ | ||
public void seriesChanged(SeriesChangeEvent event); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.