Interim Help |
Index
- Package gov.noaa.pmel.sgt
- Package gov.noaa.pmel.sgt.awt
- Package gov.noaa.pmel.sgt.contour
- Package gov.noaa.pmel.sgt.demo
- Package gov.noaa.pmel.sgt.dm
- Package gov.noaa.pmel.sgt.swing
- Package gov.noaa.pmel.sgt.swing.prop
- Package gov.noaa.pmel.sgt.util
- Utility classes in gov.noaa.pmel.util
- JDK1.1.8 compatibility
The major incompatibility is the package name changes. The root package gov.noaa.noaaserver has been changed to gov.noaa.pmel. This was done to reflect the organization of origin rather than the project responsible for the toolkits inception. The gov.noaa.noaaserver.sgt.datamodel package was renamed to the shorted gov.noaa.pmel.sgt.dm, since all the packages were renamed anyway.
Packages gov.noaa.pmel.sgt.contour, gov.noaa.pmel.sgt.swing, and gov.noaa.pmel.sgt.swing.prop added. These packages were added to support contouring, swing, and attribute editing with swing dialogs. The swing components replace and extend the awt classes which have been deprecated. The current development plan for sgt includes removing the deprecated classes from sgt.
Package gov.noaa.pmel.sgt.demo older awt classes moved to gov.noaa.pmel.sgt.demo.awt. These classes were moved out of demo to prelude the dropping of support for awt.
Packages gov.noaa.pmel.sgt.awt and gov.noaa.pmel.sgt.util have been deprecated. These packages contain classes based on awt whose functionality has been superseded by classes in gov.noaa.pmel.sgt.swing and gov.noaa.pmel.sgt.swing.prop.
Version 1.0/Version 2.0 package comparison.
Version 1.0
Version 2.0
gov.noaa.noaaserver.sgt gov.noaa.pmel.sgt gov.noaa.noaaserver.sgt.awt gov.noaa.pmel.sgt.awt (deprecated) gov.noaa.pmel.sgt.contour gov.noaa.noaaserver.sgt gov.noaa.pmel.sgt.demo gov.noaa.pmel.sgt.demo.awt (deprecated) gov.noaa.noaaserver.sgt.datamodel gov.noaa.pmel.sgt.dm gov.noaa.pmel.sgt.swing gov.noaa.pmel.sgt.swing.prop gov.noaa.noaaserver.sgt.util gov.noaa.pmel.sgt.util (deprecated) NOTES
Package gov.noaa.pmel.sgt
New Interfaces:
- AbstractPane - Defines the basic sgt Pane/JPane functionality.
- ContourLevelsAccess - Defines access of contour levels from colormaps.
- IndexedColor - Defines access of colormaps that support indexed color.
- LabelDrawer - Defines label drawing functionality.
- Moveable - Defines methods for moveable objects.
- TransformAccess - Indicated that a colormap uses transforms to map colors.
- TransformColor - Defines access of colormaps that support transform color.
New Classes:
- CLIndexedColorMap - Implements IndexedColor and ContourLevelsAccess.
- CLTransformColorMap - Implements TransformColor and ContourLevelsAccess.
- ContourLineAttribute - Defines rendering style for a contour line.
- DefaultContourLineAttribute - Define the default rendering style for a ContourLevels object.
- IndexedColorMap - Implements IndexedColor and TransformAccess.
- JPane - Swing implementation of AbstractPane.
- LabelDrawer1 - Implements label drawing for jdk1.1.x
- LabelDrawer2 - Implements label drawing for Java 2.
- PlotMark - Support class to enable drawing of plot marks.
- PointCollectionKey - Key for the PointCartesianRenderer.
- TransformColorMap - Implements TransformColor and TransformAccess.
New Exception:
- DataNotFoundException - Data was not found.
Classes moved to gov.noaa.pmel.util:
Package gov.noaa.pmel.sgt.awt
Entire package deprecated support of awt will be removed after version 2.0. See gov.noaa.pmel.sgt.swing for replacement classes.
Package gov.noaa.pmel.sgt.contour
Contour and ContourLine support contouring in sgt. These classes used by GridCartesianRenderer. The classes were designed so that the ContourLine would be accessible by the user application. Labeling is handled such that labels can be added or removed after the contour line has been generated.
Package gov.noaa.pmel.sgt.demo
New Classes: (These classes all extend javax.swing.JDialog)
- JGridDemo - Demonstration of a raster-contour plot.
- JLayoutDemo - Demonstrates the setLayout() method of JPane.
- JPointDemo - Simple demonstration of point plot.
- JProfileDemo - Simple demonstration of profile data.
- JRealTimeDemo - Demonstration of real-time functionality of sgt.
- JTimeSeriesDemo - Demonstrates a time series plot.
- TAOMap - Demonstrates station plot with coastline and ValueIcon.
- PseudoRealTimeData (support class, implements SGTLine)
Classes moved to gov.noaa.pmel.sgt.demo.awt
Package gov.noaa.pmel.sgt.dm
Many interfaces and classes in this package have had methods added. These methods provide PropertyChangeEvent support and access of value and axis ranges.
New Classes:
- PointCollection - Designed to hold SGTPoint values, extends Collection.
Package gov.noaa.pmel.sgt.swing
New Classes:
- ColorSwatchIcon - Displays a small square of color from IndexedColor colormaps.
- JClassTree - Display sgt object tree using javax.swing.JTree.
- JGraphicLayout - Abstract class used to develop pre-defines plot layouts.
- JLineProfileLayout (deprecated) - Layout for profile data.
- JPlotLayout - Layout for SGTLine, SGTGrid, Collection, and PointCollection data types.
- PlotMarkIcon - Displays a plot mark.
- UserIcon - Extends javax.swing.ImageIcon, used to display image with user defined text.
- ValueIcon - Extends javax.swing.ImageIcon, used to display image with user coordinate values.
- ValueIconFormat - Uses DecimalFormat to provide formatting for ValueIcon.
Package gov.noaa.pmel.sgt.swing.prop
New Classes:
- ArrayEditDialog - Edits an array of floats.
- ContourLevelsDialog - Edits a ContourLevels object.
- ContourLineAttributeDialog - Edits a ContourLineAttribute object.
- DefaultContourLineAttributeDialog - Edits a DefaultContourLineAttribute object.
- FontDialog - Edits a Font object. Provides only limited font access.
- GeoDateDialog - Edits a GeoDate object.
- GridAttributeDialog - Edits a GridAttribute object. (not fully implemented)
- GridBagConstraints - Extends java.awt.GridBagConstraints.
- LineAttributeDialog - Edits a LineAttribute object.
- LogoDialog - Edits a Logo Object.
- NewLevelsDialog - Computes the range for creating a ContourLevels object.
- PlotMarkDialog - Dialog to graphically select a plot mark.
- PointAttributeDialog - Edits a PointAttribute object.
- SGLabelDialog - Edits a SGLabel object.
- SpaceAxisDialog - Edits a SpaceAxis object.
- TimeAxisDialog - Edits a TimeAxis object.
Package gov.noaa.pmel.sgt.util
Package deprecated. Support for awt will be removed after version 2.0. See gov.noaa.pmel.sgt.swing.prop for replacement utility classes.
JClassTree moved to gov.noaa.pmel.sgt.swing and Units moved to gov.noaa.pmel.util
Utility classes in package gov.noaa.pmel.util
New classes:
- Domain
- Point2D.Float
- SoTDomain
- SoTPoint
- SoTRange
- SoTRange.Double
- SoTRange.GeoDate
- SoTValue
- SoTValue.Double
- SoTValue.GeoDate
The SoT classes were introduced to make creating Time/Space neutral applications easier. The SoT classes are used by the AxisTransform, SpaceAxis, and TimeAxis classes.
JDK 1.1.8 compatibility.
The following classes will not compile using a jdk 1.1.8 compiler.
- JPane (imports java.awt.print.*, java.awt.Graphics2D)
- LabelDrawer2 (depends on Java2D)
- JGraphicLayout (extends JPane)
- JPlotLayout (extends JPane)
- JLineProfileLayout (extends JPane, deprecated)
All the demonstration applications in gov.noaa.pmel.sgt.demo use JPane.
The following ..swing.prop classes reference JPane
While these classes won't compile using jdk1.1.8, if compiled with a Java 2 compiler they will run under jdk1.1.8 if you don't print. The swing classes haven't been tested under the jdk1.1.8 swing implementation.
Although most of SGT will run with jdk1.1.8 it is strongly recommended that you use that latest Java development kit available.