public interface IChartDependentChartObject extends IChartObject
IChartObject.ATTR_BOOLEAN, IChartObject.ATTR_COLOR, IChartObject.ATTR_DOUBLE, IChartObject.ATTR_INT, IChartObject.ATTR_LONG, IChartObject.ATTR_TEXTPROPERTY_FONT, PROPERTY_FOREGROUND_ALPHA, PROPERTY_FOREGROUND_COLOR, PROPERTY_POINT_PRICE, PROPERTY_POINT_TIME, PROPERTY_STICKY, PROPERTY_STROKE| Modifier and Type | Method and Description |
|---|---|
boolean |
isStickToCandleTimeEnabled()
Returns stick to candle/bar time option state on X axis while drawing.
|
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 |
setStickToCandleTimeEnabled(boolean enabled)
Sets stick to candle/bar time option.
|
void |
setTime(int pointIndex,
long timeValue)
Sets time value for figure edge specified by
pointIndex. |
addPropertyChangeListener, clone, getAttrBoolean, getAttrColor, getAttrDouble, getAttrInt, getAttrLong, getAttrText, getColor, getInstrument, getKey, getLineStyle, getLineWidth, getOpacity, getPointsCount, getPrice, getPropertyChangeListeners, getStroke, getText, getTextTruncation, getTime, getType, isLabelEnabled, isLocked, isMenuEnabled, isSticky, isVisibleInWorkspaceTree, removePropertyChangeListener, setAttrBoolean, setAttrColor, setAttrDouble, setAttrInt, setAttrLong, setAttrText, setChartObjectListener, setColor, setInstrument, setLineStyle, setLineWidth, setLocked, setMenuEnabled, setOpacity, setSticky, setStroke, setText, setText, setText, setText, setTextTruncation, setTooltip, setVisibleInWorkspaceTreevoid 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 pointboolean isStickToCandleTimeEnabled()
void setStickToCandleTimeEnabled(boolean enabled)
enabled - Copyright © 2016. All rights reserved.