|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dukascopy.api.indicators.IntegerListDescription
public class IntegerListDescription
Describes optional input as list of values
Constructor Summary | |
---|---|
IntegerListDescription()
Creates object without setting any field |
|
IntegerListDescription(int defaultValue,
int[] values,
String[] valueNames)
Creates object and sets all the fields |
Method Summary | |
---|---|
int |
getDefaultValue()
Returns default value, that is used if user doesn't set optional input |
String[] |
getValueNames()
Returns names of the every value in array |
int[] |
getValues()
Returns array of the values, that user can set |
void |
setDefaultValue(int defaultValue)
Sets default value, that is used if user doesn't set optional input |
void |
setValueNames(String[] valueNames)
Sets value names |
void |
setValues(int[] values)
Sets array of the values, that user can set |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerListDescription()
public IntegerListDescription(int defaultValue, int[] values, String[] valueNames)
defaultValue
- default value, that is used if user doesn't set optional inputvalues
- array of the values as integersvalueNames
- name of every valueMethod Detail |
---|
public int getDefaultValue()
public void setDefaultValue(int defaultValue)
defaultValue
- default valuepublic int[] getValues()
public void setValues(int[] values)
values
- array of the values, that user can setpublic String[] getValueNames()
public void setValueNames(String[] valueNames)
valueNames
- value names
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |