public interface IIndicatorChartPanel
Modifier and Type | Method and Description |
---|---|
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()
Deprecated.
|
long |
getMaxTime()
Deprecated.
|
double |
getMinPrice()
Deprecated.
|
long |
getMinTime()
Deprecated.
|
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.
|
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()
@Deprecated long getMinTime()
@Deprecated long getMaxTime()
@Deprecated double getMinPrice()
@Deprecated double getMaxPrice()
Copyright © 2024. All rights reserved.