ucar.visad.display
Class TupleOfConstantMaps

java.lang.Object
  extended by ucar.visad.display.ConstantMapComposite
      extended by ucar.visad.display.TupleOfConstantMaps
All Implemented Interfaces:
ConstantMaps, Propertied
Direct Known Subclasses:
RGBConstantMaps

public abstract class TupleOfConstantMaps
extends ConstantMapComposite

Provides support for a composite of adapted VisAD ConstantMap-s with a fixed number of components.

Version:
$Revision: 1.7 $
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
protected TupleOfConstantMaps()
          Constructs.
protected TupleOfConstantMaps(ConstantMaps maps)
          Constructs.
protected TupleOfConstantMaps(ConstantMaps[] maps)
          Constructs.
 
Method Summary
 
Methods inherited from class ucar.visad.display.ConstantMapComposite
accept, add, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getConstantMaps, remove, removePropertyChangeListener, removePropertyChangeListener, setDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleOfConstantMaps

protected TupleOfConstantMaps()
Constructs.


TupleOfConstantMaps

protected TupleOfConstantMaps(ConstantMaps maps)
                       throws VisADException,
                              RemoteException
Constructs.

Parameters:
maps - The adapted ConstantMaps that will constitute this instance.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.

TupleOfConstantMaps

protected TupleOfConstantMaps(ConstantMaps[] maps)
                       throws BadMappingException,
                              VisADException,
                              RemoteException
Constructs.

Parameters:
maps - The adapted ConstantMaps that will constitute this instance.
Throws:
BadMappingException - Aggregation of the given ConstantMaps would result in a DisplayRealType with multiple values.
VisADException - VisAD failure.
RemoteException - Java RMI failure.