|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.MathType
visad.ScalarType
visad.RealType
visad.DisplayRealType
DisplayRealType is the class for display real scalar types. ScalarMaps map ScalarTypes to DisplayRealType. A fixed set is defined by the system, users may add others.
| Field Summary |
| Fields inherited from class visad.RealType |
Altitude, Declination, Generic, INTERVAL, Latitude, Longitude, Radius, RightAscension, Time, TimeInterval, XAxis, YAxis, ZAxis |
| Fields inherited from class visad.ScalarType |
Name |
| Fields inherited from class visad.MathType |
SystemIntrinsic |
| Constructor Summary | |
(package private) |
DisplayRealType(String name,
boolean single,
boolean b)
trusted constructor for intrinsic text DisplayRealType |
(package private) |
DisplayRealType(String name,
boolean single,
double def,
boolean b)
trusted constructor for intrinsic DisplayRealType's created by system without range or Unit |
(package private) |
DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
boolean b)
trusted constructor for intrinsic DisplayRealType's created by system without Unit |
|
DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
Unit unit)
construct a DisplayRealType |
(package private) |
DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
Unit unit,
boolean b)
trusted constructor for intrinsic DisplayRealType's created by system with Unit |
|
DisplayRealType(String name,
boolean single,
double def,
Unit unit)
construct a DisplayRealType whose values are not scaled |
| Method Summary | |
boolean |
getCircular()
|
static int |
getCount()
|
double |
getDefaultValue()
|
int |
getIndex()
get the index of this in DisplayRealTypeVector; insert this into the Vector if it isn't already |
boolean |
getRange(double[] range_values)
get the range of values is defined for this |
boolean |
getText()
|
DisplayTupleType |
getTuple()
|
int |
getTupleIndex()
|
boolean |
isSingle()
|
void |
setTuple(DisplayTupleType t,
int i,
boolean c)
Sets the DisplayTupleType to which this DisplayRealType will belong. |
| Methods inherited from class visad.RealType |
binary, buildShadowType, cloneDerivative, equals, equalsExceptName, equalsExceptNameButUnits, getAttributeMask, getDefaultSet, getDefaultUnit, getRealType, getRealType, getRealType, getRealType, getRealType, getRealType, getRealTypeByName, isInterval, main, missingData, prettyString, setDefaultSet, unary |
| Methods inherited from class visad.ScalarType |
alias, compareTo, getAlias, getName, getNameWithBlanks, getOriginalName, getScalarTypeByName, hashCode, readResolve, validateName |
| Methods inherited from class visad.MathType |
addTimeAlias, findScalarType, guessMaps, prettyString, stringToType, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
DisplayRealType(String name,
boolean single,
double def,
boolean b)
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidedef - default valueb - dummy argument indicating that this is a trusted constructor
(does not throw VisADExceptions)
DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
boolean b)
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidelow - start of range of values for scalinghi - end of range of values for scalingdef - default valueb - dummy argument indicating that this is a trusted constructor
(does not throw VisADExceptions)
DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
Unit unit,
boolean b)
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidelow - start of range of values for scalinghi - end of range of values for scalingdef - default valueunit - Unit for this DisplayRealTypeb - dummy argument indicating that this is a trusted constructor
(does not throw VisADExceptions)
DisplayRealType(String name,
boolean single,
boolean b)
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guideb - dummy argument indicating that this is a trusted constructor
(does not throw VisADExceptions)
public DisplayRealType(String name,
boolean single,
double low,
double hi,
double def,
Unit unit)
throws VisADException
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidelow - start of range of values for scalinghi - end of range of values for scalingdef - default valueunit - Unit for this DisplayRealType
VisADException - a VisAD error occurred
public DisplayRealType(String name,
boolean single,
double def,
Unit unit)
throws VisADException
name - String name for this DisplayRealTypesingle - if true, this may occur at most once at a terminal
node in the ShadowType tree; see
Appendix A of the Developer's Guidedef - default valueunit - Unit for this DisplayRealType
VisADException - a VisAD error occurred| Method Detail |
public int getIndex()
public static int getCount()
public DisplayTupleType getTuple()
public int getTupleIndex()
public void setTuple(DisplayTupleType t,
int i,
boolean c)
throws VisADException
t - The DisplayTupleType of which this DisplayRealType
will be a component.i - The 0-based index for this as a component of t.c - Flag indicating whether t has a CoordinateSystem whose
toReference() is periodic in this with period 2*pi
(or equivalent according to unit).
VisADException - a VisAD error occurred.public boolean isSingle()
public double getDefaultValue()
public boolean getRange(double[] range_values)
range_values - double[2] array used to return low
and hi values of the range (if this
DisplayRealType has a range)
public boolean getText()
public boolean getCircular()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||