ucar.visad.display
Interface ConstantMaps

All Superinterfaces:
Propertied
All Known Implementing Classes:
ConstantMapAdapter, ConstantMapComposite, RGBConstantMaps, SetOfConstantMaps, TupleOfConstantMaps

public interface ConstantMaps
extends Propertied

Interface for a collection of adapted ConstantMap-s.

Instances of this interface have the following, bound, JavaBean properties:

Name Type Access Default Description
constantMap ConstantMap class-dependent Fired whenever any ConstantMap changes
PropertyChangeEvent-s fired for the CONSTANT_MAP property have the originating class as the source and the old and new values set to the appropriate ConstantMaps.

Version:
$Revision: 1.9 $
Author:
Steven R. Emmerson

Nested Class Summary
static interface ConstantMaps.Visitor
          Interface for visitors to ConstantMaps.
 
Field Summary
static String CONSTANT_MAP
          The name of the ConstantMap "property".
 
Method Summary
 void accept(ConstantMaps.Visitor visitor)
          Accepts a ConstantMaps.Visitor to this instance.
 ConstantMap[] getConstantMaps()
          Returns the ConstantMap(s) of this instance.
 void setDisplay(Display display)
          Adds the adapted ConstantMap(s) of this instance to a VisAD display.
 
Methods inherited from interface ucar.visad.display.Propertied
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

CONSTANT_MAP

static final String CONSTANT_MAP
The name of the ConstantMap "property".

See Also:
Constant Field Values
Method Detail

getConstantMaps

ConstantMap[] getConstantMaps()
Returns the ConstantMap(s) of this instance.

Returns:
The ConstantMap(s) of this instance.

accept

void accept(ConstantMaps.Visitor visitor)
            throws VisADException,
                   RemoteException
Accepts a ConstantMaps.Visitor to this instance.

Parameters:
visitor - The ConstantMaps.Visitor to accept.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.

setDisplay

void setDisplay(Display display)
                throws VisADException,
                       RemoteException
Adds the adapted ConstantMap(s) of this instance to a VisAD display. This method should only be invoked by a DisplayAdapter.

Parameters:
display - The VisAD display.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.