Package ucar.visad.display
Class SetOfConstantMaps
java.lang.Object
ucar.visad.display.ConstantMapComposite
ucar.visad.display.SetOfConstantMaps
- All Implemented Interfaces:
ConstantMaps,Propertied
Provides support for a composite of adapted VisAD ConstantMap-s with an
extensible number of components.
- Version:
- $Revision: 1.8 $
- Author:
- Steven R. Emmerson
-
Nested Class Summary
Nested classes/interfaces inherited from interface ucar.visad.display.ConstantMaps
ConstantMaps.Visitor -
Field Summary
Fields inherited from interface ucar.visad.display.ConstantMaps
CONSTANT_MAP -
Constructor Summary
ConstructorsConstructorDescriptionConstructs.Constructs. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ConstantMaps maps) Adds adapted,ConstantMaps to this instance.Methods inherited from class ucar.visad.display.ConstantMapComposite
accept, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getConstantMaps, remove, removePropertyChangeListener, removePropertyChangeListener, setDisplay
-
Constructor Details
-
SetOfConstantMaps
public SetOfConstantMaps()Constructs. -
SetOfConstantMaps
public SetOfConstantMaps(ConstantMaps maps) throws BadMappingException, VisADException, RemoteException Constructs.- Parameters:
maps- The adapted,ConstantMapsto initially comprise this instance.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.BadMappingException- if addition of theConstantMapswould result in multiple values for aDisplayRealType.
-
-
Method Details
-
add
Adds adapted,ConstantMaps to this instance.- Overrides:
addin classConstantMapComposite- Parameters:
maps- The adapted,ConstantMaps to be added to this instance.- Throws:
BadMappingException- Addition of theConstantMaps would result is aDisplayRealTypehaving multiple values.VisADException- VisAD failure.RemoteException- Java RMI failure.
-