Package cnuphys.splot.fit
Enum Class FitType
- All Implemented Interfaces:
- Serializable,- Comparable<FitType>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic EnumComboBoxgetComboBox(FitType defaultChoice) Obtain a combo box of choices.static StringgetFitString(Fit curveFit) Get an html string the describes the fitgetName()Get the nice name of the enum.static FitTypeReturns the enum value from the name.static FitTypeReturns the enum constant of this class with the specified name.static FitType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
NOLINE
- 
CONNECT
- 
STAIRS
- 
LINE
- 
POLYNOMIAL
- 
GAUSSIANS
- 
POLYPLUSGAUSS
- 
ERF
- 
ERFC
- 
ALTPOLYNOMIAL
- 
CUBICSPLINE
 
- 
- 
Field Details- 
namesA map for the names of the fit types
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getNameGet the nice name of the enum.- Returns:
- the nice name, for combo boxes, menus, etc.
 
- 
getValueReturns the enum value from the name.- Parameters:
- name- the name to match.
- Returns:
- the FitTypethat corresponds to the name. Returnsnullif no match is found.
 
- 
getFitStringGet an html string the describes the fit- Parameters:
- object- the fit object that will have to be cast appropriately
- Returns:
- an html string the describes the fit
 
- 
getComboBoxObtain a combo box of choices.- Parameters:
- defaultChoice-
- Returns:
- the combo box of fit types
 
 
-