public class SoundingSet extends CompositeDisplayable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIVE_SOUNDING
The name of the active sounding property.
|
static java.lang.String |
DEW_POINT
The name of the dew-point property.
|
static java.lang.String |
PRESSURE
The name of the presure property.
|
static java.lang.String |
TEMPERATURE
The name of the temperature property.
|
cnt, labelDISPLAY, parent, SCALAR_MAP_SET| Constructor and Description |
|---|
SoundingSet(visad.LocalDisplay display)
Constructs from a VisAD display.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSounding(int index,
Sounding sounding)
Adds a sounding to this set.
|
void |
addSounding(Sounding sounding)
Adds a sounding to this set.
|
void |
clear()
Clears this composite of all children.
|
Sounding |
getActiveSounding()
Returns the active sounding.
|
visad.Real |
getDewPoint()
Returns the dew-point property.
|
java.util.Set |
getDewPointRealTypeSet()
Returns the set of types of the dew-points.
|
visad.Real |
getPressure()
Returns the pressure property.
|
java.util.Set |
getPressureRealTypeSet()
Returns the set of types of the pressures.
|
visad.Real |
getTemperature()
Returns the temperature property.
|
java.util.Set |
getTemperatureRealTypeSet()
Returns the set of types of the temperatures.
|
void |
removeSounding(int index)
Removes a sounding from this set.
|
void |
setActiveSounding(int index)
Sets the active sounding.
|
protected void |
setActiveSounding(Sounding sounding)
Sets the active sounding property.
|
void |
setConstrainProfiles(boolean yes)
Sets the constrainProfiles property.
|
void |
setLineStyle(int style,
int index)
_more_
|
void |
setLinesWidth(float width,
int lowerIndex,
int upperIndex)
_more_
|
void |
setOriginalProfiles(int index)
Reset the profiles at the given index
|
void |
setPressure(visad.Real pressure)
Sets the pressure property.
|
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, toStringaddConstantMaps, 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, setSelectedRangepublic static java.lang.String PRESSURE
public static java.lang.String TEMPERATURE
public static java.lang.String DEW_POINT
public static java.lang.String ACTIVE_SOUNDING
public SoundingSet(visad.LocalDisplay display)
throws visad.VisADException,
java.rmi.RemoteException
true.display - The VisAD display.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addSounding(Sounding sounding) throws java.rmi.RemoteException, visad.VisADException
sounding - The sounding to be added.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addSounding(int index,
Sounding sounding)
throws java.rmi.RemoteException,
visad.VisADException
index - The index of the sounding.sounding - The sounding to be added.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void removeSounding(int index)
throws java.lang.IndexOutOfBoundsException,
java.rmi.RemoteException,
visad.VisADException
index - The index of the sounding.java.lang.IndexOutOfBoundsException - The index is out of range.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setOriginalProfiles(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - index of profilejava.rmi.RemoteException - Java RMI exceptionvisad.VisADException - VisAD problempublic void setConstrainProfiles(boolean yes)
throws java.rmi.RemoteException,
visad.VisADException
yes - Whether or not to constrain temperatures
to be equal to or greater than
corresponding dew-points.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setPressure(visad.Real pressure)
throws java.rmi.RemoteException,
visad.VisADException
pressure - The pressure property.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Real getPressure()
public visad.Real getTemperature()
public visad.Real getDewPoint()
public java.util.Set getPressureRealTypeSet()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public java.util.Set getTemperatureRealTypeSet()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public java.util.Set getDewPointRealTypeSet()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void clear()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setActiveSounding(int index)
throws visad.VisADException,
java.rmi.RemoteException
index - The index of the active sounding. A value of
-1 means that there is to be no active sounding.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setActiveSounding(Sounding sounding) throws visad.VisADException, java.rmi.RemoteException
sounding - The new values.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public Sounding getActiveSounding()
public void setLinesWidth(float width,
int lowerIndex,
int upperIndex)
throws java.rmi.RemoteException,
visad.VisADException
width - _more_lowerIndex - _more_upperIndex - _more_java.rmi.RemoteException - _more_visad.VisADException - _more_public void setLineStyle(int style,
int index)
throws java.rmi.RemoteException,
visad.VisADException
style - _more_index - _more_java.rmi.RemoteException - _more_visad.VisADException - _more_