|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.SelectRangeDisplayable
public class SelectRangeDisplayable
A class for support of a select range scalar map.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
|
SelectRangeDisplayable()
Default ctor. |
|
SelectRangeDisplayable(RealType rangeType)
Create a select range displayable for the particular type. |
protected |
SelectRangeDisplayable(SelectRangeDisplayable that)
Constructs from a SelectRangeDisplayable. |
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
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 DataReferences associated with this instance
to the display. |
void |
myRemoveDataReferences()
Removes the DataReferences associated with this
instance from the display. |
void |
setDisplayUnit(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(RealType realType)
Sets the RealType of the select parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectRangeDisplayable()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public SelectRangeDisplayable(RealType rangeType)
throws VisADException,
RemoteException
rangeType - RealType for the select range
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected SelectRangeDisplayable(SelectRangeDisplayable that)
throws VisADException,
RemoteException
that - a SelectRangeDisplayable.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void setSelectRealType(RealType realType)
throws RemoteException,
VisADException
realType - The RealType of the RGB parameter. May
not be null.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public RealType getSelectRealType()
null.public final void myAddDataReferences()
Adds the DataReferences associated with this instance
to the display.
This implementation does nothing.
myAddDataReferences in class Displayablepublic final void myRemoveDataReferences()
Removes the DataReferences associated with this
instance from the display.
This implementation does nothing.
myRemoveDataReferences in class Displayablepublic boolean hasSelectedRange()
public void setSelectedRange(double low,
double hi)
throws VisADException,
RemoteException
setSelectedRange in class Displayablelow - low select valuehi - hi select value
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setDisplayUnit(Unit unit)
throws VisADException,
RemoteException
setDisplayUnit in class Displayableunit - Unit for display
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setRangeForSelect(double low,
double hi)
throws VisADException,
RemoteException
low - the minimun valuehi - the maximum value
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
cloneForDisplay in class DisplayableVisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||