/*
* $Id: LayerContainer.java,v 1.6 2003/09/15 22:05:41 dwd Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restrictions in its use, it is expected that appropriate
* credit be given to its author and to the National Oceanic and Atmospheric
* Administration should the software be included by the recipient as an
* element in other product development.
*/
package sgtplot;
import java.awt.*;
import java.beans.*;
import org.freehep.graphics2d.VectorGraphics;
/**
* A Container designed hold Layers.
* The LayerContainer improves the flexiblity in
* laying out multiple stacked Layers on a Pane.
*
* @author Donald Denbo
* @version $Revision: 1.6 $, $Date: 2003/09/15 22:05:41 $
* @since 1.0
* @see StackedLayout
* @see Pane
* @see Layer
*/
public class LayerContainer extends java.awt.Container implements LayerControl {
AbstractPane pane_;
public LayerContainer() {
super();
}
/**
* Used internally by sgtplot.
*/
public void setPane(AbstractPane pane) {
pane_ = pane;
}
/**
* Used internally by sgtplot.
*/
public void draw(VectorGraphics g) throws PaneNotFoundException {
throw new MethodNotImplementedError();
}
/**
* Used internally by sgtplot.
* @since 2.0
*/
public void drawDraggableItems(VectorGraphics g) throws PaneNotFoundException {
/**@todo Implement this gov.noaa.pmel.sgt.LayerControl method*/
throw new java.lang.UnsupportedOperationException("Method drawDraggableItems() not yet implemented.");
}
/**
* Get identifier.
* @return identifier/name
*/
public String getId() {
return getName();
}
}
Ads help maintain this website.