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 TypeMethodDescriptionvoid
add
(ConstantMaps maps) Adds adapted,ConstantMap
s 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,ConstantMaps
to initially comprise this instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.BadMappingException
- if addition of theConstantMaps
would result in multiple values for aDisplayRealType
.
-
-
Method Details
-
add
Adds adapted,ConstantMap
s to this instance.- Overrides:
add
in classConstantMapComposite
- Parameters:
maps
- The adapted,ConstantMap
s to be added to this instance.- Throws:
BadMappingException
- Addition of theConstantMap
s would result is aDisplayRealType
having multiple values.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-