/*
* $Id: LayerControl.java,v 1.3 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 org.freehep.graphics2d.VectorGraphics;
/**
* Used internally by SGT to work with Layer and
* LayerContainer.
* @author Donald Denbo
* @version $Revision: 1.3 $, $Date: 2003/09/15 22:05:41 $
* @since 3.0
**/
public interface LayerControl {
/**
* Used internally by sgtplot.
* @param pane Parent pane
*/
void setPane(AbstractPane pane);
/**
* Used internally by sgtplot.
* @param g Graphics object
* @throws PaneNotFoundException Pane not found.
*/
void draw(VectorGraphics g) throws PaneNotFoundException;
/**
* Used internally by sgtplot.
* @since 2.0
* @param g Graphics object.
* @throws PaneNotFoundException Pane not found.
*/
void drawDraggableItems(VectorGraphics g) throws PaneNotFoundException;
/**
* Get identifier of layer. Internally uses getName() method for Panel.
* @since 3.0
* @return identifier
*/
String getId();
}
Ads help maintain this website.