public class Study extends java.lang.Object implements IStudy
The Study class provides developers with an API to control general attributes consistent with all the supported studies of the Chart FX Statistical Extention. These members may be used to customize statistic studies in the chart. All study specific classes are derived from this class.
Constructor and Description |
---|
Study(StudyType studyType,
int id)
Provides access to the Study object
|
Modifier and Type | Method and Description |
---|---|
static Study |
createAnalysisMultiStudy(AnalysisMulti analysis)
Used to create a study without adding the study to the StudiesCollection.
|
static Study |
createAnalysisStudy(Analysis analysis)
Used to create a study without adding the study to the StudiesCollection.
|
static StudyFormula |
createDistributionFormulaStudy(DistributionFormula distribution)
Used to create a study without adding the study to the StudiesCollection.
|
static StudyTest |
createTestMultiStudy(TestMulti test)
Used to create a study without adding the study to the StudiesCollection.
|
static StudyTest |
createTestStudy(Test test)
Used to create a study without adding the study to the StudiesCollection.
|
java.awt.Color |
getColor()
Description goes here
|
int |
getDecimals()
Gets or sets the number of decimal spaces displayed for a study.
|
int |
getID()
Returns the Id of a study object.
|
java.lang.String |
getText()
Gets or sets the string used for the selected study's title.
|
double |
getValue()
Description goes here
|
java.lang.String |
getValue(int series)
Description goes here
|
boolean |
isBold()
Gets or sets a value indicating whether the selected study's title will be bold.
|
boolean |
isIndented()
Gets or sets a value indicating whether the selected study's title will indent.
|
boolean |
isInteractive()
Description goes here
|
boolean |
isVisible()
Description goes here
|
void |
resetBold()
Set the property Bold to its default value.
|
void |
resetDecimals()
Set the property Decimals to its default value.
|
void |
resetIndented()
Set the property Indented to its default value.
|
void |
resetText()
Set the property Text to its default value.
|
void |
setBold(boolean value)
Gets or sets a value indicating whether the selected study's title will be bold.
|
void |
setDecimals(int value)
Gets or sets the number of decimal spaces displayed for a study.
|
void |
setIndented(boolean value)
Gets or sets a value indicating whether the selected study's title will indent.
|
void |
setText(java.lang.String value)
Gets or sets the string used for the selected study's title.
|
void |
setValue(double value)
Gets or sets the value for a StudyCustom object.
|
void |
setVisible(boolean value)
Description goes here
|
public Study(StudyType studyType, int id)
studyType
- id
- public boolean isBold()
Gets or sets a value indicating whether the selected study's title will be bold.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.setText
method allows you to customize the text for a selected study's title.isIndented
method allows you to control if the selected study's title will be indented or not.To set the first study of the StudiesCollection to have a bold title:
public void setBold(boolean value)
Gets or sets a value indicating whether the selected study's title will be bold.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.setText
method allows you to customize the text for a selected study's title.isIndented
method allows you to control if the selected study's title will be indented or not.To set the first study of the StudiesCollection to have a bold title:
public java.awt.Color getColor()
public int getDecimals()
Gets or sets the number of decimal spaces displayed for a study.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.setText
method allows you to customize the text for a selected study's title.isBold
method allows you to display the study's title bold or in non-bold font.To set the number of decimal places to 9:
resetDecimals
public void setDecimals(int value)
Gets or sets the number of decimal spaces displayed for a study.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.setText
method allows you to customize the text for a selected study's title.isBold
method allows you to display the study's title bold or in non-bold font.To set the number of decimal places to 9:
value
- resetDecimals
public int getID()
Returns the Id of a study object.
public boolean isIndented()
Gets or sets a value indicating whether the selected study's title will indent.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.setText
method allows you to customize the text for a selected study's title.isBold
method allows you to display the study's title bold or in non-bold font.
To indent the 2nd study of the StudiesCollection:
isIndented
in interface IStudy
resetIndented
public void setIndented(boolean value)
Gets or sets a value indicating whether the selected study's title will indent.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.setText
method allows you to customize the text for a selected study's title.isBold
method allows you to display the study's title bold or in non-bold font.
To indent the 2nd study of the StudiesCollection:
setIndented
in interface IStudy
value
- resetIndented
public boolean isInteractive()
isInteractive
in interface IStudy
public java.lang.String getText()
Gets or sets the string used for the selected study's title.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.isBold
method allows you to display the study's title bold or in non-bold font.isIndented
method allows you to control if the selected study's title will be indented or not.
To set the text for the first study in the StudiesCollection:
public void setText(java.lang.String value)
Gets or sets the string used for the selected study's title.
setStudies
method of the Statistics
class allows you to obtain a selected study which exposes the members of this class. The Studies method may also be used to obain the entire StudiesCollection
.isBold
method allows you to display the study's title bold or in non-bold font.isIndented
method allows you to control if the selected study's title will be indented or not.
To set the text for the first study in the StudiesCollection:
value
- resetText
public double getValue()
public void setValue(double value)
value
- public boolean isVisible()
public void setVisible(boolean value)
setVisible
in interface IStudy
value
- public static Study createAnalysisMultiStudy(AnalysisMulti analysis)
Used to create a study without adding the study to the StudiesCollection.
This method is used to create a selected study without adding it to the StudiesCollection object. The Add method of the StudiesCollection
class allows you to create and add a study to the StudiesCollection.
To create an Analysis study (Upper Quartile):
analysis
- Create an AnalysisMulti study.public static Study createAnalysisStudy(Analysis analysis)
Used to create a study without adding the study to the StudiesCollection.
This method is used to create a selected study without adding it to the StudiesCollection object. The Add method of the StudiesCollection
class allows you to create and add a study to the StudiesCollection.
To create an Analysis study (Upper Quartile):
analysis
- Create a Analysis study.public static StudyFormula createDistributionFormulaStudy(DistributionFormula distribution)
Used to create a study without adding the study to the StudiesCollection.
This method is used to create a selected study without adding it to the StudiesCollection object. The Add method of the StudiesCollection
class allows you to create and add a study to the StudiesCollection.
To create an Analysis study (Upper Quartile):
distribution
- Create a DistributionFormula study.public static StudyTest createTestMultiStudy(TestMulti test)
Used to create a study without adding the study to the StudiesCollection.
This method is used to create a selected study without adding it to the StudiesCollection object. The Add method of the StudiesCollection
class allows you to create and add a study to the StudiesCollection.
To create an Analysis study (Upper Quartile):
test
- Create a TestMulti study.public static StudyTest createTestStudy(Test test)
Used to create a study without adding the study to the StudiesCollection.
This method is used to create a selected study without adding it to the StudiesCollection object. The Add method of the StudiesCollection
class allows you to create and add a study to the StudiesCollection.
To create an Analysis study (Upper Quartile):
test
- public java.lang.String getValue(int series)
public void resetBold()
isBold
public void resetDecimals()
setDecimals
public void resetIndented()
isIndented
public void resetText()
setText
2014 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.