public interface IDecoratedChartObject extends IChartDependentChartObject
Modifier and Type | Interface and Description |
---|---|
static class |
IDecoratedChartObject.Decoration |
static class |
IDecoratedChartObject.Placement |
IChartObject.ATTR_BOOLEAN, IChartObject.ATTR_COLOR, IChartObject.ATTR_DOUBLE, IChartObject.ATTR_INT, IChartObject.ATTR_LONG, IChartObject.ATTR_TEXT
PROPERTY_FONT, PROPERTY_FOREGROUND_ALPHA, PROPERTY_FOREGROUND_COLOR, PROPERTY_POINT_PRICE, PROPERTY_POINT_TIME, PROPERTY_STICKY, PROPERTY_STROKE
Modifier and Type | Method and Description |
---|---|
Map<IDecoratedChartObject.Placement,IDecoratedChartObject.Decoration> |
getDecorations() |
void |
removeDecorations()
Removes all decorations from current chart object
|
void |
setDecoration(IDecoratedChartObject.Placement placement,
IDecoratedChartObject.Decoration decoration)
Sets new decoration for current figure
|
isStickToCandleTimeEnabled, move, setPrice, setStickToCandleTimeEnabled, setTime
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, setVisibleInWorkspaceTree
Map<IDecoratedChartObject.Placement,IDecoratedChartObject.Decoration> getDecorations()
void setDecoration(IDecoratedChartObject.Placement placement, IDecoratedChartObject.Decoration decoration)
placement
- one of Placement
constantsdecoration
- one of Decoration
constantsIDecoratedChartObject.Decoration
,
IDecoratedChartObject.Placement
void removeDecorations()
Copyright © 2016. All rights reserved.