public class SelectRangeDisplayable extends Displayable
DISPLAY, parent, SCALAR_MAP_SET
Modifier | Constructor and Description |
---|---|
|
SelectRangeDisplayable()
Default ctor.
|
|
SelectRangeDisplayable(visad.RealType rangeType)
Create a select range displayable for the particular type.
|
protected |
SelectRangeDisplayable(SelectRangeDisplayable that)
Constructs from a SelectRangeDisplayable.
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
visad.RealType |
getSelectRealType()
Returns the RealType of the SelectRange parameter.
|
boolean |
hasSelectedRange()
Returns whether this Displayable has a valid range
(i.e., lowSelectedRange and highSelectedRange are both not NaN's
|
void |
myAddDataReferences()
Adds the
DataReference s associated with this instance
to the display. |
void |
myRemoveDataReferences()
Removes the
DataReference s associated with this
instance from the display. |
void |
setDisplayUnit(visad.Unit unit)
Set the units for the displayed range
|
void |
setRangeForSelect(double low,
double hi)
Set the upper and lower limit of the range values associated
with a color table.
|
void |
setSelectedRange(double low,
double hi)
Set selected range with the range for select
|
void |
setSelectRealType(visad.RealType realType)
Sets the RealType of the select parameter.
|
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroy, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getAnimationSet, 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, setAdjustFlow, setColor, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setLineWidth, setManipulable, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setPointMode, setPointSize, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, toFront
public SelectRangeDisplayable() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public SelectRangeDisplayable(visad.RealType rangeType) throws visad.VisADException, java.rmi.RemoteException
rangeType
- RealType for the select rangevisad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.protected SelectRangeDisplayable(SelectRangeDisplayable that) throws visad.VisADException, java.rmi.RemoteException
that
- a SelectRangeDisplayable.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setSelectRealType(visad.RealType realType) throws java.rmi.RemoteException, visad.VisADException
realType
- The RealType of the RGB parameter. May
not be null
.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public visad.RealType getSelectRealType()
null
.public final void myAddDataReferences()
Adds the DataReference
s associated with this instance
to the display.
This implementation does nothing.
myAddDataReferences
in class Displayable
public final void myRemoveDataReferences()
Removes the DataReference
s associated with this
instance from the display.
This implementation does nothing.
myRemoveDataReferences
in class Displayable
public boolean hasSelectedRange()
public void setSelectedRange(double low, double hi) throws visad.VisADException, java.rmi.RemoteException
setSelectedRange
in class Displayable
low
- low select valuehi
- hi select valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setDisplayUnit(visad.Unit unit) throws visad.VisADException, java.rmi.RemoteException
setDisplayUnit
in class Displayable
unit
- Unit for displayjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setRangeForSelect(double low, double hi) throws visad.VisADException, java.rmi.RemoteException
low
- the minimun valuehi
- the maximum valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay
in class Displayable
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.