source: ether_megapoli/trunk/service/implementation/gov2/noaa/pmel/sgt/MapGraph.java @ 192

Last change on this file since 192 was 192, checked in by vmipsl, 13 years ago

Servlet _ Contour en cours _ package gov2

File size: 1.6 KB
Line 
1/*
2 * $Id: MapGraph.java,v 1.5 2003/08/22 23:02:32 dwd Exp $
3 *
4 * This software is provided by NOAA for full, free and open release.  It is
5 * understood by the recipient/user that NOAA assumes no liability for any
6 * errors contained in the code.  Although this software is released without
7 * conditions or restrictions in its use, it is expected that appropriate
8 * credit be given to its author and to the National Oceanic and Atmospheric
9 * Administration should the software be included by the recipient as an
10 * element in other product development.
11 */
12
13package  gov.noaa.pmel.sgt;
14
15import gov.noaa.pmel.sgt.dm.SGTData;
16
17import java.awt.Graphics;
18import java.awt.Point;
19import java.beans.PropertyChangeEvent;
20
21/**
22 * Base class for all Map based Graphs and projections.
23 *
24 * @author Donald Denbo
25 * @version $Revision: 1.5 $, $Date: 2003/08/22 23:02:32 $
26 * @since 2.x
27 */
28public class MapGraph extends Graph implements Cloneable {
29  /**@shapeType AggregationLink*/
30  private MapProj mproj_;
31  public MapGraph() {
32  }
33  public Graph copy() {
34    MapGraph newGraph;
35    try {
36      newGraph = (MapGraph)clone();
37    } catch (CloneNotSupportedException e) {
38      newGraph = new MapGraph();
39    }
40    return (Graph)newGraph;
41  }
42  void draw(Graphics g) {
43    throw new MethodNotImplementedError();
44  }
45  public void attachProj(MapProj proj) {
46    throw new MethodNotImplementedError();
47  }
48  public Object getObjectAt(Point pt) {
49    throw new MethodNotImplementedError();
50  }
51
52  public void propertyChange(PropertyChangeEvent evt) {
53  }
54  /**
55   * @since 3.0
56   */
57  public SGTData getDataAt(Point pt) {
58    throw new MethodNotImplementedError();
59  }
60}
Note: See TracBrowser for help on using the repository browser.