Package gov.noaa.pmel.sgt

Core classes for the Scientific Graphics Toolkit.

See:
          Description

Interface Summary
AbstractPane Defines the basic sgt Pane functionality.
Attribute Defines an interface for classes that provide rendering information for sgt.dm classes.
ContourLevelsAccess Defines the functionality for accessing contour level information for color maps.
IndexedColor Defines the access methods for color maps that support indexed color.
LayerChild LayerChild defines an interface to allow classes to be associated with a Layer.
Moveable Interface indicates that object can be moved with a mouse drag.
Selectable Interface indicates that object can be selected with a mouse click.
StrokeDrawer Defines the methods that implement stroke drawing in sgt.
TimeAxisStyle TimeAxisStyle defines an interface to create a specific time axis style.
Transform Transform defines an interface for transformations between user and physical coordinates.
TransformAccess Interface indicates that the color map uses a transform to map levels.
TransformColor Interface provides support for accessing color transforms for a color map.
 

Class Summary
Axis Abstract base class for Cartesian axes.
AxisTransform Abstract base class for cartesian axis transforms.
CartesianGraph The CartesianGraph provides the transformation from user to physical coordinates.
CartesianRenderer CartesianRenderer defines an interface to enable data to be rendered on a CartesianGraph.
CLIndexedColorMap CLIndexedColorMap provides a mapping from a value to a Color.
CLTransformColorMap CLTransformColorMap provides a mapping from a value to a Color via a ContourLevel object.
ColorKey The ColorKey class provides a graphical depiction of the relationship between a ColorMap and user values.
ColorMap ColorMap provides a mapping from an index or value to a Color.
ContourLevels Contains levels and line styles for contour graphics.
ContourLineAttribute Sets the rendering style for a contour line.
DefaultContourLineAttribute Sets the default rendering style for contour line data.
Format A class for formatting numbers that follows printf conventions.
Graph Abstract base class for all graphics drawn on a Layer.
GridAttribute Sets the rendering style for grid data.
GridCartesianRenderer Produces a cartesian plot from a SGTGrid object.
IndexedColorMap IndexedColorMap provides a mapping from a value to a Color.
JPane The JPane class is extended from javax.swing.JLayeredPane and is the basis for using the gov.noaa.pmel.sgt package with swing components.
Layer A Layer contains a single Graph object and multiple LayerChild objects.
LayerContainer A Container designed hold Layers.
LinearTransform Performs a linear transformation on cartesian axes.
LineAttribute Sets the rendering style for line data.
LineCartesianRenderer Produces a line plot with optional coloring from a second data set.
LineKey LineKey is used to create a key for the LineCartesianRenderer.
Logo Logo displays an Image on its parent Layer.
Pane The Pane class is extended from java.awt.Container and is the basis for the gov.noaa.pmel.sgt package.
PlainAxis Axis class for creation of standard "plain" linear axes.
PlotMark Support class used to draw a PlotMark.
PointAttribute Set the rendereing style for point data.
PointCartesianRenderer Produces a point plot with optional coloring from a second data set.
PointCollectionKey PointCollectionKey is used to create a key for the PointCartesianRenderer.
Ruler Description of Class Ruler
SGLabel Draws text on a layer object.
SpaceAxis Abstract base class for axes whose user coordinates are double values.
StackedLayout StackedLayout works with Pane to position multiple Layers directly over each other.
TimeAxis Base class for time axes.
TransformColorMap TransformColorMap provides a mapping from a value to a Color.
VectorAttribute Sets the rendering style for line data.
VectorCartesianRenderer Produces a vector plot.
VectorKey VectorKey is used to create a key for the VectorCartesianRenderer.
 

Exception Summary
AxisNotFoundException Axis was not found during operation.
ChildNotFoundException Child was not found during operation.
ContourLevelNotFoundException Contour level does not exist.
DataNotAssignedException Graph could not be produced because no data has been assigned.
DataNotFoundException Graph could not be produced because no data has been assigned.
DataNotSameShapeException Operation could not be completed since grids are not the same shape.
LabelNotFoundException Label was not found during operation.
LayerNotFoundException Operation failed because the layer was not found.
PaneNotFoundException Operation failed because the layer was not found.
SGException Base class for gov.noaa.pmel.sgt exceptions.
 

Error Summary
InvalidMethodError Method called with invalid arguements.
MethodNotImplementedError Method called has not been implemented.
 

Package gov.noaa.pmel.sgt Description

Core classes for the Scientific Graphics Toolkit.

The Java Scientific Graphics Toolkit (sgt) is designed to allow a graphics client developer a great deal of flexibility and freedom. sgt is a package that greatly aids a developer in creating graphics applets. sgt is not a general purpose graphics package, but provides the tools to enable scientific graphics to be easily incorporated into applications or Applets.

SGT has three main components, the JPane, on which all graphics are drawn. The Layer, of which several can be associated with a single JPane, that insulates the developer from device coordinates. And the Graph, of which a single instance can be associated with a Layer, that transforms form user coordinates (e.g. cm/sec, time, etc) to the layer coordinate system (physical coordinates).

Examples demonstrating the use of SGT are available in the gov.noaa.pmel.sgt.demo package. These examples show how to create SGT applications from scratch and how to use the JPlotLayout utility class. A tutorial on using SGT to develop interactive graphics is now available.

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.

See Also:
Pane, JPane, Layer, Graph


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001