Package ucar.visad.display
package ucar.visad.display
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 ScalarMapAdapter
s 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.
-
ClassDescriptionProvides support for a
Displayable
that needs a map to Display.AnimationA widget to graphically display animation timesClass Box represents a time stepA class to hold and transfer animation properties settings, as to and from the AnimationPropertiesDialog.A widget to get properties for animation from the user.Holds state for constructing synthetic animation setsA widget to control animation in a VisAD display.Class for a probe that defines an area.AxisScaleInfo JavaBeanDisplayable for a color scale in a display.Class to hold information about a ColorScaleSupports composition of a list of Displayable-s into a single Displayable.Provides support for adapting VisAD ConstantMap-s into something that is (hopefully) easier to use.Provides support for a composite of adapted VisAD ConstantMap-s.Interface for a collection of adaptedConstantMap
-s.Interface for visitors toConstantMaps
.Provides support for a set of ConstantMap-s.A class to support showing 2D gridded data as colored contours on a plane in a NavigatedDisplay.Provides support for contour levels.Provides support for a Displayable that comprises a set of contour lines.Provides support for adapting ScalarMap-s for 2-D contour lines.Provides support for a Displayable comprising a cross-hair.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.Provides support for a Displayable that comprises a set of drawn curves.Provides support for adapting VisAD data objects into something that is (hopefully) easier to use.Provides support for encapsulating one or more displayed data objects together with their display-dependent state.Provides support for displaying data that comprises a single VisAD Data object (and, consequently, needs only a single DataReference).DragAdapterProvides support for displaying the VisAD Data of a VisAD DataReference.Provides support for adapting VisAD Display-s into something that is (hopefully) easier to use.Manages a VisADDisplayImpl
and a list ofDisplayable
s.Provides support for utility functions.A class to hold event mappings for keys and mouse movementsProvides support for a Displayable displays wind data (u,v) or (spd, dir) as wind vectors.FrontDrawer is the VisAD class for manipulation of fronts.A class to support showing 2D gridded data as color on a plane in a DisplayMaster.A class to support showing 3D gridded data as an IsoSurfaceAn interface for Displayables that display gridded data.Class for displaying grid point values as textA VisAD display for hovmoller displaysProvides support for a Displayable that needs a map to (Display.Red,Display.Green,Display.Blue)Provides support for displaying ImageSequencesDisplayable to encompass a manipulable point that can be moved around the display.Provides support for irregular contours, which are characterized by an explicit set of contour levels.Provides support for adapting ScalarMap-s ofDisplay.IsoContour
.Provides support for a Displayable that comprises an iso-surface Supports color tables as well.Class for creating lat/lon labelsDisplayable to support Latitude and Longitude lines.Provides support for line drawings.Class for a probe.Provides support for adapting VisAD ScalarMap-s and ConstantMap-s.Provides support for displaying map lines.Subclass of LineDrawing to support a pickable data objectProvides support for a color coded display of a track trace.Class for a probe.Provides support for lines drawing in a polar coordinate system.This class is used to draw one line connecting two end points.Interface for classes with JavaBean properties.A class to support a standard radar grid display - range rings, radials and labels.Provides support for a Displayable comprising a set of RadialsProvides support for regular contours, which are characterized by a constant contour interval.Provides support for a modifiable composite of adapted red, green, and blue, VisAD ConstantMap-s.Provides support for a Displayable that needs a map to either Display.RGB or to Display.RGBA.Labels for RingSetsProvides support for a set of evenly-spaced, concentric rings (ie: a "bullseye").Provides support for a Displayable that comprises a rubber band box.Provides support for adapting VisAD ScalarMap-s to something that is (hopefully) easier to use.Provides support for a set of ScalarMap-s.Provides support for labeling the scale of an axis.SelectorDisplayable is an abstract class that manages a list of PropertyChangeListeners.Displayable to encompass a manipulable point that can be moved around the display.A class for support of a select range scalar map.Provides support for adapting ScalarMap-s ofDisplay.SelectRange
.Provides support for adapting ScalarMap-s toDisplay.SelectValue
.Provides support for a composite of adapted VisAD ConstantMap-s with an extensible number of components.Displayable to encompass a manipulable point that can be moved around the display.Provides support for display of station locations.Class for displaying a station (layout) model plotProvides support for adapting ScalarMap-s toDisplay.IsoContour
for displays of iso-surfaces.Super class for displaying text dataA VisAD display for 2D vertical cross sections of 3D data fields.Provides support for a color coded display of a track trace.Provides support for a composite of adapted VisAD ConstantMap-s with a fixed number of components.A class to support showing 3D gridded data as a volume in a DisplayMaster.Provides support for a Displayable to show wind with the conventional meteorological "wind barb" symbols.Provides support for adapting ScalarMap-s toDisplay.XAxis
.A VisAD display for cross sections of data fields.A wrapper for a 2D display for XY plots of dataProvides support for adapting ScalarMap-s toDisplay.YAxis
.Provides support for adapting ScalarMap-s toDisplay.ZAxis
.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.