source: ether_megapoli/trunk/service/implementation/gov2/noaa/pmel/sgt/LayerContainer.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.8 KB
Line 
1/*
2 * $Id: LayerContainer.java,v 1.6 2003/09/15 22:05:41 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 java.awt.*;
16import java.beans.*;
17/**
18 * A <code>Container</code> designed hold <code>Layer</code>s.
19 * The <code>LayerContainer</code> improves the flexiblity in
20 * laying out multiple stacked <code>Layer</code>s on a <code>Pane</code>.
21 *
22 * @author Donald Denbo
23 * @version $Revision: 1.6 $, $Date: 2003/09/15 22:05:41 $
24 * @since 1.0
25 * @see StackedLayout
26 * @see Pane
27 * @see Layer
28 */
29public class LayerContainer extends java.awt.Container implements LayerControl {
30  AbstractPane pane_;
31
32  public LayerContainer() {
33    super();
34  }
35  /**
36   * Used internally by sgt.
37   */
38  public void setPane(AbstractPane pane) {
39    pane_ = pane;
40  }
41  /**
42   * Used internally by sgt.
43   */
44  public void draw(Graphics g) throws PaneNotFoundException {
45    throw new MethodNotImplementedError();
46  }
47  /**
48   * Used internally by sgt.
49   * @since 2.0
50   */
51  public void drawDraggableItems(Graphics g) throws PaneNotFoundException {
52    /**@todo Implement this gov.noaa.pmel.sgt.LayerControl method*/
53    throw new java.lang.UnsupportedOperationException("Method drawDraggableItems() not yet implemented.");
54  }
55
56  /**
57   * Get identifier.
58   * @return identifier/name
59   */
60  public String getId() {
61    return getName();
62  }
63}
Note: See TracBrowser for help on using the repository browser.