|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dukascopy.api.indicators.DoubleRangeDescription
public class DoubleRangeDescription
Describes optional input as range of values
Constructor Summary | |
---|---|
DoubleRangeDescription()
Creates object without setting any field |
|
DoubleRangeDescription(double defaultValue,
double min,
double max,
double suggestedIncrement,
int precision)
Creates object and sets all the fields |
Method Summary | |
---|---|
double |
getDefaultValue()
Returns default value, that is used if user doesn't set optional input |
double |
getMax()
Returns maximal value |
double |
getMin()
Returns minimal value |
int |
getPrecision()
Returns number of digits after decimal separator, that should be used |
double |
getSuggestedIncrement()
Returns suggested step to change this input |
void |
setDefaultValue(double defaultValue)
Sets default value, that is used if user doesn't set optional input |
void |
setMax(double max)
Sets maximal value |
void |
setMin(double min)
Sets minimal value |
void |
setPrecision(int precision)
Sets number of digits after decimal separator, that should be used |
void |
setSuggestedIncrement(double suggestedIncrement)
Sets suggested step to change this input |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleRangeDescription()
public DoubleRangeDescription(double defaultValue, double min, double max, double suggestedIncrement, int precision)
defaultValue
- default value, that is user if used doesn't set optional inputmin
- minimal valuemax
- maximal valuesuggestedIncrement
- suggested step to change this inputprecision
- number of digits after decimal separatorMethod Detail |
---|
public double getDefaultValue()
public void setDefaultValue(double defaultValue)
defaultValue
- default valuepublic double getMin()
public void setMin(double min)
min
- minimal valuepublic double getMax()
public void setMax(double max)
max
- maximal valuepublic double getSuggestedIncrement()
public void setSuggestedIncrement(double suggestedIncrement)
suggestedIncrement
- suggested step to change this inputpublic int getPrecision()
public void setPrecision(int precision)
precision
- number of digits after decimal separator, that should be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |