public interface IIndicatorChartPanel
A container for graphical objects created by the indicator.
| Method Summary | |
|---|---|
void |
add(IChartObject chartObject)
Adds the object of type IChartObject to the current panel. |
IChartObject |
get(java.lang.String chartObjectKey)
Returns the instance of IChartObject created by the indicator by key. |
java.util.List<IChartObject> |
getAll()
Returns all graphical objects created by the indicator. |
IChartObjectFactory |
getChartObjectFactory()
Returns the instance of IChartObjectFactory. |
double |
getMaxPrice()
Returns the maximum value of the price scale. |
long |
getMaxTime()
Returns the maximum time scale value. |
double |
getMinPrice()
Returns the minimum value of the price scale. |
long |
getMinTime()
Returns the minimum time scale value. |
void |
remove(IChartObject chartObject)
Removes the specified graphical object from this panel. |
java.util.List<IChartObject> |
removeAll()
Removes all graphical objects created by the indicator. |
| Method Detail |
|---|
void add(IChartObject chartObject)
IChartObject to the current panel.
The object is locked by default.
Note that only one object instance can be added per chart.
chartObject - - instance of IChartObject super type.
java.lang.IllegalArgumentException - - if object is already present on chart.void remove(IChartObject chartObject)
chartObject - - graphical object to remove.java.util.List<IChartObject> removeAll()
IChartObjectFactory getChartObjectFactory()
IChartObjectFactory.
IChartObjectFactory.IChartObject get(java.lang.String chartObjectKey)
IChartObject created by the indicator by key.
chartObjectKey - the unique chart object key.
IChartObject or null if the object with the specified key was not found or the object was not created by the indicator.java.util.List<IChartObject> getAll()
long getMinTime()
long getMaxTime()
double getMinPrice()
double getMaxPrice()