com.dukascopy.api.drawings
Interface IDecoratedChartObject

All Superinterfaces:
IChartDependentChartObject, IChartObject
All Known Subinterfaces:
IHorizontalLineChartObject, IOrderLineChartObject, IPriceMarkerChartObject, ITimeMarkerChartObject, IVerticalLineChartObject

public interface IDecoratedChartObject
extends IChartDependentChartObject


Nested Class Summary
static class IDecoratedChartObject.Decoration
           
static class IDecoratedChartObject.Placement
           
 
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 removeDecorations()
          Removes all decorations from current chart object
 void setDecoration(IDecoratedChartObject.Placement placement, IDecoratedChartObject.Decoration decoration)
          Sets new decoration for current figure
 
Methods inherited from interface com.dukascopy.api.drawings.IChartDependentChartObject
isStickToCandleTimeEnabled, move, setPrice, setStickToCandleTimeEnabled, setTime
 
Methods inherited from interface com.dukascopy.api.IChartObject
addPropertyChangeListener, getAttrBoolean, getAttrColor, getAttrDouble, getAttrInt, getAttrLong, getAttrText, getColor, getKey, getLineWidth, getOpacity, getPointsCount, getPrice, getPropertyChangeListeners, getStroke, getText, getTextTruncation, getTime, getType, isLabelEnabled, isLocked, isMenuEnabled, isSticky, isVisibleInWorkspaceTree, removePropertyChangeListener, setAttrBoolean, setAttrColor, setAttrDouble, setAttrInt, setAttrLong, setAttrText, setChartObjectListener, setColor, setLineStyle, setLineWidth, setLocked, setMenuEnabled, setOpacity, setSticky, setStroke, setText, setText, setText, setText, setTextTruncation, setTooltip, setVisibleInWorkspaceTree
 

Method Detail

setDecoration

void setDecoration(IDecoratedChartObject.Placement placement,
                   IDecoratedChartObject.Decoration decoration)
Sets new decoration for current figure

Parameters:
placement - one of Placement constants
decoration - one of Decoration constants
See Also:
IDecoratedChartObject.Decoration, IDecoratedChartObject.Placement

removeDecorations

void removeDecorations()
Removes all decorations from current chart object