Package ucar.visad.display

Provides support for hiding some of the complexity of the VisAD package.

See:
          Description

Interface Summary
ConstantMaps Interface for a collection of adapted ConstantMap-s.
ConstantMaps.Visitor Interface for visitors to ConstantMaps.
DisplayableData.DragAdapter DragAdapter
GridDisplayable An interface for Displayables that display gridded data.
Propertied Interface for classes with JavaBean properties.
 

Class Summary
Animation Provides support for a Displayable that needs a map to Display.Animation
AnimationBoxPanel A widget to graphically display animation times
AnimationBoxPanel.Box Class Box represents a time step
AnimationInfo A class to hold and transfer animation properties settings, as to and from the AnimationPropertiesDialog.
AnimationPropertiesDialog A widget to get properties for animation from the user.
AnimationSetInfo Holds state for constructing synthetic animation sets
AnimationWidget A widget to control animation in a VisAD display.
AreaProbe Class for a probe that defines an area.
AxisScalarMap Provides support for adapting ScalarMap-s to Display.XAxis, Display.YAxis, or Display.ZAxis.
ColorScale Displayable for a color scale in a display.
ColorScaleInfo Class to hold information about a ColorScale
CompositeDisplayable Supports composition of a list of Displayable-s into a single Displayable.
ConstantMapAdapter Provides support for adapting VisAD ConstantMap-s into something that is (hopefully) easier to use.
ConstantMapComposite Provides support for a composite of adapted VisAD ConstantMap-s.
ConstantMapSet Provides support for a set of ConstantMap-s.
Contour2DDisplayable A class to support showing 2D gridded data as colored contours on a plane in a NavigatedDisplay.
ContourLevels Provides support for contour levels.
ContourLines Provides support for a Displayable that comprises a set of contour lines.
ContourScalarMap Provides support for adapting ScalarMap-s for 2-D contour lines.
CrossHair Provides support for a Displayable comprising a cross-hair.
CrossSectionSelector CrossSectionSelector is a composite of two endpoints that can be moved independently, a line connecting the two points, and a middle point that can be used to move orthoganally to the line.
CurveDrawer Provides support for a Displayable that comprises a set of drawn curves.
DataAdapter Provides support for adapting VisAD data objects into something that is (hopefully) easier to use.
Displayable Provides support for encapsulating one or more displayed data objects together with their display-dependent state.
DisplayableData Provides support for displaying data that comprises a single VisAD Data object (and, consequently, needs only a single DataReference).
DisplayableDataRef Provides support for displaying the VisAD Data of a VisAD DataReference.
DisplayAdapter Provides support for adapting VisAD Display-s into something that is (hopefully) easier to use.
DisplayMaster Manages a VisAD DisplayImpl and a list of Displayables.
DisplayUtil Provides support for utility functions.
EventMap A class to hold event mappings for keys and mouse movements
FlowDisplayable Provides support for a Displayable displays wind data (u,v) or (spd, dir) as wind vectors.
FrontDrawer FrontDrawer is the VisAD class for manipulation of fronts.
Grid2DDisplayable A class to support showing 2D gridded data as color on a plane in a DisplayMaster.
Grid3DDisplayable A class to support showing 3D gridded data as an IsoSurface
GridValueDisplayable Class for displaying grid point values as text
HovmollerDisplay A VisAD display for hovmoller displays
ImageRGBDisplayable Provides support for a Displayable that needs a map to (Display.Red,Display.Green,Display.Blue)
ImageSequenceDisplayable Provides support for displaying ImageSequences
IndicatorPoint Displayable to encompass a manipulable point that can be moved around the display.
IrregularContourLevels Provides support for irregular contours, which are characterized by an explicit set of contour levels.
IsoContourScalarMap Provides support for adapting ScalarMap-s of Display.IsoContour.
IsoSurface Provides support for a Displayable that comprises an iso-surface Supports color tables as well.
LatLonLines Displayable to support Latitude and Longitude lines.
LineDrawing Provides support for line drawings.
LineProbe Class for a probe.
MapAdapter Provides support for adapting VisAD ScalarMap-s and ConstantMap-s.
MapLines Provides support for displaying map lines.
PickableLineDrawing Subclass of LineDrawing to support a pickable data object
PickableTrack Provides support for a color coded display of a track trace.
PointProbe Class for a probe.
PolarLineDrawing Provides support for lines drawing in a polar coordinate system.
ProfileLine This class is used to draw one line connecting two end points.
RadarGrid A class to support a standard radar grid display - range rings, radials and labels.
Radials Provides support for a Displayable comprising a set of Radials
RegularContourLevels Provides support for regular contours, which are characterized by a constant contour interval.
RGBConstantMaps Provides support for a modifiable composite of adapted red, green, and blue, VisAD ConstantMap-s.
RGBDisplayable Provides support for a Displayable that needs a map to either Display.RGB or to Display.RGBA.
RingLabels Labels for RingSets
RingSet Provides support for a set of evenly-spaced, concentric rings (ie: a "bullseye").
RubberBandBox Provides support for a Displayable that comprises a rubber band box.
ScalarMapAdapter Provides support for adapting VisAD ScalarMap-s to something that is (hopefully) easier to use.
ScalarMapSet Provides support for a set of ScalarMap-s.
ScaleLabels Provides support for labeling the scale of an axis.
SelectorDisplayable SelectorDisplayable is an abstract class that manages a list of PropertyChangeListeners.
SelectorPoint Displayable to encompass a manipulable point that can be moved around the display.
SelectRangeDisplayable A class for support of a select range scalar map.
SelectRangeScalarMap Provides support for adapting ScalarMap-s of Display.SelectRange.
SelectValueScalarMap Provides support for adapting ScalarMap-s to Display.SelectValue.
SetOfConstantMaps Provides support for a composite of adapted VisAD ConstantMap-s with an extensible number of components.
ShapeDisplayable Displayable to encompass a manipulable point that can be moved around the display.
StationLocationDisplayable Provides support for display of station locations.
StationModelDisplayable Class for displaying a station (layout) model plot
SurfaceScalarMap Provides support for adapting ScalarMap-s to Display.IsoContour for displays of iso-surfaces.
TextDisplayable Super class for displaying text data
TimeHeightDisplay A VisAD display for 2D vertical cross sections of 3D data fields.
TrackDisplayable Provides support for a color coded display of a track trace.
TupleOfConstantMaps Provides support for a composite of adapted VisAD ConstantMap-s with a fixed number of components.
VolumeDisplayable A class to support showing 3D gridded data as a volume in a DisplayMaster.
WindBarbDisplayable Provides support for a Displayable to show wind with the conventional meteorological "wind barb" symbols.
XAxisScalarMap Provides support for adapting ScalarMap-s to Display.XAxis.
XSDisplay A VisAD display for cross sections of data fields.
XYDisplay A wrapper for a 2D display for XY plots of data
YAxisScalarMap Provides support for adapting ScalarMap-s to Display.YAxis.
ZAxisScalarMap Provides support for adapting ScalarMap-s to Display.ZAxis.
ZSelector ZSelector is a single small color-filled box on the screen that the user can move vertically by dragging with mouse button three; it can be used to control items whose position has a z value in a VisAD display.
 

Package ucar.visad.display Description

Provides support for hiding some of the complexity of the VisAD package.

For the MetApps project, the most relevant top-level classes are probably DisplayAdapter, MapAdapter, and DataAdapter. Here's a simple example of their use (bold text is more important):

    import javax.swing.*;
    import ucar.visad.display.*;
    import visad.*;

    public class MyTest
    {
        public static void main(String[] args)
        {
            private DisplayAdapter   display =
                new DisplayAdapter(new DisplayImplJ3D("MyTest"));
            display.add(new XAxisScalarMap(xDataType, display));
            display.add(new YAxisScalarMap(yDataType, display));
            display.add(new ContourScalarMap(zDataType, display));
            display.add(new ConstantMapAdapter(-1, Display.ZAxis));
            DataReferenceImpl   dataRef = new DataReferenceImpl("MyData");
            dataRef.setData(new MyData());
            display.add(
                new DataAdapter(
                    display,
                    dataRef,
                    new RGBConstantMaps(Color.yellow)));
            JFrame    jframe = new JFrame("My Test");
            jframe.getContentPane().add(display.getComponent());
            jframe.pack();
            jframe.setVisible(true);
        }
    }
    ...
The above example creates a DisplayAdapter from a VisAD DisplayImpl. It then adds to the adapted display the necessary ScalarMapAdapters and ConstantMapAdapter to have contour lines of the data appear at Z = -1. The data is then added to the display with a RGBConstantMaps instance that causes the contour lines to appear in yellow.