|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.ui.ParamInfo
public class ParamInfo
This is used by the ParamDefaultsEditor
to hold the default display information for a parameter.
Holds a simple min/max range and other metadata about a parameters data, including
unit, color table, and contouring values; with get and set methods.
| Constructor Summary | |
|---|---|
ParamInfo()
ctor |
|
ParamInfo(ParamInfo other)
Create this ParamInfo. |
|
ParamInfo(String name,
String colorTableName,
Range range,
ContourInfo ci,
Unit displayUnit)
Create this ParamInfo. |
|
| Method Summary | |
|---|---|
void |
clearColorTableName()
Set the colorTableName to null |
void |
clearContourInfo()
Set the contourInfo to null |
void |
clearDisplayUnit()
Set the displayUnit to null |
void |
clearRange()
Set the range to null |
boolean |
equals(Object o)
Override equals |
String |
getColorTableName()
Get the color table name |
ContourInfo |
getContourInfo()
Get the ContourInfo |
Unit |
getDisplayUnit()
Get the displayUnit |
double |
getMax()
Get the maximum range value or 0.0 if range is undefined. |
double |
getMin()
Get the minimum range value or 0.0 if range is undefined. |
String |
getName()
Get the name |
Range |
getRange()
Get the Range |
boolean |
hasColorTableName()
Does this have a color table name defined |
boolean |
hasContourInfo()
Does this have a ContourInfo defined |
boolean |
hasDisplayUnit()
Does this have a display unit defined |
boolean |
hasRange()
Does this have a Range defined |
void |
initWith(ParamInfo that)
Copy the state |
void |
setColorTableName(String value)
Set the color table name |
void |
setContourInfo(ContourInfo value)
Set the ContourInfo |
void |
setDisplayUnit(Unit newUnit)
Set the displayUnit |
void |
setMax(double m)
Set the maximum value for the Range. |
void |
setMin(double m)
Set the minimum value for the Range. |
void |
setName(String value)
Set the nae |
void |
setRange(Range value)
Set the range with the given Range value |
String |
toString()
Return the name |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParamInfo()
public ParamInfo(ParamInfo other)
other - The ParamInfo to initialize from
public ParamInfo(String name,
String colorTableName,
Range range,
ContourInfo ci,
Unit displayUnit)
name - The namecolorTableName - The name of the color tablerange - The rangeci - The ContourInfodisplayUnit - The display unit| Method Detail |
|---|
public void initWith(ParamInfo that)
that - Other object to init withpublic boolean hasRange()
public boolean hasContourInfo()
public boolean hasDisplayUnit()
public boolean hasColorTableName()
public void setMin(double m)
m - The minimum range valuepublic void setMax(double m)
m - The maximum range valuepublic double getMin()
public double getMax()
public void setRange(Range value)
Range value
value - The new range valuepublic Range getRange()
Range
public void setContourInfo(ContourInfo value)
ContourInfo
value - The new contour infopublic ContourInfo getContourInfo()
ContourInfo
public void setColorTableName(String value)
value - The color table namepublic String getColorTableName()
public void clearColorTableName()
public void clearDisplayUnit()
public void clearRange()
public void clearContourInfo()
public void setName(String value)
value - The new name valuepublic String getName()
public Unit getDisplayUnit()
public void setDisplayUnit(Unit newUnit)
newUnit - The new display unitpublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto - The object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||