|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.statistical.Study
com.softwarefx.chartfx.server.statistical.StudyTest
public class StudyTest
Provides access to the StudyTest object
This class is specifically used to control attributes of test studies.
Constructor Summary | |
---|---|
StudyTest(StudyType studyType,
int id)
|
Method Summary | |
---|---|
int |
getConfidence()
Gets the Confidence. |
String |
getValue(int series)
Sets the value for a StudyCustom object. |
boolean |
isShowConfidence()
Gets the ShowConfidence. |
void |
setConfidence(int value)
Sets the confidence level for the selected test. |
void |
setShowConfidence(boolean value)
Sets a value indicating whether the confidence level will be displayed. |
Methods inherited from class com.softwarefx.chartfx.server.statistical.Study |
---|
createStudy, createStudy, createStudy, createStudy, createStudy, getColor, getDecimals, getID, getText, getValue, isBold, isIndented, isInteractive, isVisible, setBold, setDecimals, setIndented, setText, setValue, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softwarefx.chartfx.server.statistical.IStudy |
---|
getColor, getText, isBold, isIndented, isInteractive, isVisible, setBold, setIndented, setVisible |
Constructor Detail |
---|
public StudyTest(StudyType studyType, int id)
Method Detail |
---|
public int getConfidence()
Gets the Confidence. For more detail see setConfidence(int)
.
public String getValue(int series)
Sets the value for a StudyCustom object.
The Statistics.getStudies()
property of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies property may also be used to obain the entire StudiesCollection
.
This property may only be used with StudyCustom
objects, as other study objects will have precalcuated values based on the chart data. In order for a StudyCustom item to have a value, it must be configured.
getValue
in interface IStudy
getValue
in class Study
Statistics.getStudies()
,
StudyCustom
,
StudiesCollection
,
Statistics
public boolean isShowConfidence()
Gets the ShowConfidence. For more detail see setShowConfidence(boolean)
.
public void setConfidence(int value)
Sets the confidence level for the selected test.
You can obtain the StudyTest object for a selected test when adding the test to the Studies collection as follows:
The #ShowProbability
property indicates whether to show Passed/Failed or the actual probablity value of the test as the result.
#setShowProbability
,
Statistics.getStudies()
,
StudiesCollection.add(com.softwarefx.chartfx.server.statistical.Analysis)
,
Statistics
,
StudiesCollection
public void setShowConfidence(boolean value)
Sets a value indicating whether the confidence level will be displayed.
When this property is set to false, the pass or fail results will be displayed for the test in the legend. When set to true, the actual probablity value will be displayed in the legend.
You can obtain the StudyTest object for a selected test when adding the test to the Studies collection as follows:
setConfidence(int)
,
#setShowProbability
,
StudiesCollection.add(com.softwarefx.chartfx.server.statistical.Analysis)
,
StudiesCollection
,
Statistics
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |