|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChartDependentChartObject
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.dukascopy.api.IChartObject |
|---|
IChartObject.ATTR_BOOLEAN, IChartObject.ATTR_COLOR, IChartObject.ATTR_DOUBLE, IChartObject.ATTR_INT, IChartObject.ATTR_LONG, IChartObject.ATTR_TEXT |
| Field Summary |
|---|
| Fields inherited from interface com.dukascopy.api.IChartObject |
|---|
PROPERTY_FONT, PROPERTY_FOREGROUND_ALPHA, PROPERTY_FOREGROUND_COLOR, PROPERTY_POINT_PRICE, PROPERTY_POINT_TIME, PROPERTY_STICKY, PROPERTY_STROKE |
| Method Summary | |
|---|---|
void |
move(long time,
double price)
Moves first point of the object to the new position dragging whole object with all other points. |
void |
setPrice(int pointIndex,
double priceValue)
Sets price value for figure edge specified by pointIndex. |
void |
setTime(int pointIndex,
long timeValue)
Sets time value for figure edge specified by pointIndex. |
| Methods inherited from interface com.dukascopy.api.IChartObject |
|---|
addPropertyChangeListener, getAttrBoolean, getAttrColor, getAttrDouble, getAttrInt, getAttrLong, getAttrText, getColor, getKey, getOpacity, getPointsCount, getPrice, getPropertyChangeListeners, getStroke, getText, getTime, getType, isMenuEnabled, isSticky, removePropertyChangeListener, setAttrBoolean, setAttrColor, setAttrDouble, setAttrInt, setAttrLong, setAttrText, setChartObjectListener, setColor, setMenuEnabled, setOpacity, setSticky, setStroke, setText, setText, setText, setText |
| Method Detail |
|---|
void setTime(int pointIndex,
long timeValue)
pointIndex.
pointIndex - - index of figure edge.timeValue - - time value.
IllegalArgumentException - - if pointIndex specified is invalid.
void setPrice(int pointIndex,
double priceValue)
pointIndex.
pointIndex - - index of figure edge.priceValue - - price value.
IllegalArgumentException - - if pointIndex specified is invalid.
void move(long time,
double price)
move in interface IChartObjecttime - new time of the first pointprice - new price of the first point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||