|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.analysis.Parameter
Parameters used to fit.
Options. You can use as many options as you want.
Field Summary | |
static int |
BOOLEAN
Parameter is a boolean value...displayed as a checkbox. |
static int |
DOUBLE
Parameter is a floating point number. |
static int |
ERROR
|
protected boolean |
estimate
Whether or not this parameter should be estimated automatically before doing fit. |
static int |
ESTIMATE
|
protected boolean |
fix
Whether or not the parameter is currently fixed. |
static int |
FIX
|
static int |
INT
Parameter is an integer number, e.g., a histogram channel number. |
static int |
KNOWN
|
static int |
MOUSE
|
static int |
NO_ERROR
|
static int |
NO_ESTIMATE
|
static int |
NO_FIX
|
static int |
NO_KNOWN
|
static int |
NO_MOUSE
|
static int |
NO_OUTPUT
|
static int |
OUTPUT
|
static int |
TEXT
Parameter is simply a text box. |
static int |
TYPE
|
Constructor Summary | |
Parameter(java.lang.String name,
int options)
|
|
Parameter(java.lang.String name,
int option1,
int option2)
|
|
Parameter(java.lang.String name,
int option1,
int option2,
int option3)
|
|
Parameter(java.lang.String name,
int option1,
int option2,
int option3,
int option4)
|
|
Parameter(java.lang.String name,
int option1,
int option2,
int option3,
int option4,
int option5)
|
|
Parameter(java.lang.String name,
int option1,
int option2,
int option3,
int option4,
int option5,
int option6)
|
Method Summary | |
boolean |
getBooleanValue()
|
double |
getDoubleError()
|
double |
getDoubleValue()
|
int |
getIntValue()
|
double |
getKnown()
|
java.lang.String |
getName()
|
int |
getOptions()
|
int |
getType()
|
boolean |
isBoolean()
|
boolean |
isEstimate()
|
boolean |
isFix()
Tells whether the parameter is currently fixed. |
boolean |
isNumberField()
|
boolean |
isTextField()
Returns true if the parameter is represented by a text field in the dialog box. |
void |
setError(double err)
|
void |
setEstimate(boolean state)
|
void |
setFix(boolean state)
|
void |
setKnown(double inKnown)
|
void |
setValue(boolean flag)
|
void |
setValue(double value)
Set the floating point value. |
void |
setValue(double value,
double error)
|
void |
setValue(int value)
|
void |
setValue(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TYPE
public static final int INT
public static final int DOUBLE
public static final int BOOLEAN
public static final int TEXT
public static final int ERROR
public static final int NO_ERROR
public static final int FIX
public static final int NO_FIX
public static final int ESTIMATE
public static final int NO_ESTIMATE
public static final int MOUSE
public static final int NO_MOUSE
public static final int OUTPUT
public static final int NO_OUTPUT
public static final int KNOWN
public static final int NO_KNOWN
protected boolean fix
protected boolean estimate
Constructor Detail |
public Parameter(java.lang.String name, int options)
public Parameter(java.lang.String name, int option1, int option2)
public Parameter(java.lang.String name, int option1, int option2, int option3)
public Parameter(java.lang.String name, int option1, int option2, int option3, int option4)
public Parameter(java.lang.String name, int option1, int option2, int option3, int option4, int option5)
public Parameter(java.lang.String name, int option1, int option2, int option3, int option4, int option5, int option6)
Method Detail |
public java.lang.String getName()
public int getType()
public int getOptions()
public void setFix(boolean state)
public boolean isFix()
public void setEstimate(boolean state)
public boolean isEstimate()
public void setValue(double value) throws FitException
FitException
- thrown if unrecoverable error occurspublic void setValue(double value, double error)
public void setValue(int value)
public void setValue(java.lang.String text)
public void setValue(boolean flag)
public void setError(double err)
public void setKnown(double inKnown)
public double getDoubleValue()
public int getIntValue()
public boolean getBooleanValue()
public double getDoubleError()
public double getKnown()
public boolean isBoolean()
public boolean isNumberField()
public boolean isTextField()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |