|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--visad.ScalarMap
|
+--visad.ConstantMap
mapping from constant to DisplayRealType
| Fields inherited from class visad.ScalarMap |
displayRange,
isScaled,
ValueIndex |
| Constructor Summary | |
ConstantMap(double constant,
DisplayRealType display_scalar)
construct a ConstantMap with a double constant |
|
ConstantMap(Real constant,
DisplayRealType display_scalar)
construct a ConstantMap with a Real constant; |
|
| Method Summary | |
Object |
clone()
|
protected int |
compareTo(ConstantMap that)
Compares this instance to another instance. |
int |
compareTo(Object obj)
Compares this instance to another object. |
protected int |
compareTo(ScalarMap that)
Compares this instance to a ScalarMap. |
boolean |
equals(Object o)
Indicates whether or not this instance equals an Object. |
static boolean |
getAllowMultipleUseKludge()
|
double |
getConstant()
|
static void |
setAllowMultipleUseKludge(boolean k)
allow ConstantMaps to be used in multiple calls to DisplayImpl.addReference() or addReferences() such multiple use was not checked in the early releases of VisAD, and this method allows applications to easily avoid more extensive changes |
(package private) void |
setAspectCartesian(double[] aspect)
do nothing over-ride of ScalarMap method |
(package private) void |
setControl()
do nothing over-ride of ScalarMap method |
String |
toString(String pre)
|
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ConstantMap(double constant,
DisplayRealType display_scalar)
throws VisADException
constant - - double equated to DisplayRealTypedisplay_scalar - - DisplayRealType set to constant
(may not be Animation, SelectValue, SelectRange or IsoContour)
public ConstantMap(Real constant,
DisplayRealType display_scalar)
throws VisADException
constant - - Real whose value is equated to DisplayRealTypedisplay_scalar - - DisplayRealType set to constant
(may not be Animation, SelectValue, SelectRange or IsoContour)| Method Detail |
public static void setAllowMultipleUseKludge(boolean k)
k - - true to allow multiple usepublic static boolean getAllowMultipleUseKludge()
void setControl()
throws VisADException,
RemoteException
public double getConstant()
public boolean equals(Object o)
o - - A object.true if and only if this instance is equal to o.public int compareTo(Object obj)
obj - The other object.protected int compareTo(ConstantMap that)
that - The other instance.protected int compareTo(ScalarMap that)
that - The ScalarMap.public Object clone()
public String toString(String pre)
void setAspectCartesian(double[] aspect)
throws VisADException,
RemoteException
aspect - ratios; 3 elements for Java3D, 2 for Java2D
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||