public class MeanWindSet extends CompositeDisplayable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVE_MEAN_WIND
The name of the active mean-wind Displayable property.
|
cnt, label
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
MeanWindSet(Displayable missingMeanWind,
visad.LocalDisplay display)
Constructs from a prototype Displayable with a missing value and a
VisAD display.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the mean-wind Displayable-s from this composite.
|
Displayable |
getActiveMeanWind()
Returns the active mean-wind property.
|
Displayable |
removeMeanWind(int index)
Removes a mean-wind Displayable from this composite.
|
protected void |
setActiveMeanWind(Displayable meanWind)
Sets the active mean-wind property.
|
void |
setActiveMeanWind(int index)
Sets the active mean-wind Displayable.
|
void |
setMeanWind(int index,
Displayable meanWind)
Adds a mean-wind Displayable to this composite.
|
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setPointSize, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toString
addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange
public static java.lang.String ACTIVE_MEAN_WIND
public MeanWindSet(Displayable missingMeanWind, visad.LocalDisplay display) throws visad.VisADException, java.rmi.RemoteException
missingMeanWind
- A prototype Displayable with a missing value.display
- The VisAD display.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setMeanWind(int index, Displayable meanWind) throws java.rmi.RemoteException, visad.VisADException
index
- The index of the mean-wind Displayable.meanWind
- The mean-wind Displayable.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public Displayable removeMeanWind(int index) throws java.rmi.RemoteException, visad.VisADException, java.lang.IndexOutOfBoundsException
index
- The index of the mean-wind Displayable.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.java.lang.IndexOutOfBoundsException
- The index was out of range.public void setActiveMeanWind(int index) throws java.rmi.RemoteException, visad.VisADException
index
- The index of the active mean-wind Displayable.
If the index is out of range, then the active
mean-wind is set the the missing mean-wind
Displayable.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected void setActiveMeanWind(Displayable meanWind)
meanWind
- The new value.public Displayable getActiveMeanWind()
public void clear() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.