public interface IIndicatorsProvider
Modifier and Type | Method and Description |
---|---|
void |
addIndicatorStopListener(IIndicator indicator,
IStopListener stopListener)
Registers listener to indicator deinitialization event
|
java.util.Collection<java.lang.String> |
getAllNames()
Returns list of all indicator names
|
java.util.Collection<java.lang.String> |
getGroups()
Returns list of indicator groups
|
IIndicator |
getIndicator(java.lang.String name)
Returns indicator with specified name or null if no indicator was found
|
IIndicator |
getIndicator(java.lang.String name,
IIndicatorContext context)
Returns indicator with specified name or null if no indicator was found
|
java.util.Collection<java.lang.String> |
getNames(java.lang.String groupName)
Returns indicator names that belongs to specified group
|
java.lang.String |
getTitle(java.lang.String name)
Returns indicator's title
|
boolean |
isEnabledOnCharts(java.lang.String indicatorName)
Returns true if indicator should be available in add indicator dialog
|
java.lang.String |
registerUserIndicator(java.io.File compiledCustomIndicatorFile)
Attempts to open and register custom indicator in the system
|
java.util.Collection<java.lang.String> getGroups()
java.util.Collection<java.lang.String> getNames(java.lang.String groupName)
groupName
- indicator groupjava.util.Collection<java.lang.String> getAllNames()
IIndicator getIndicator(java.lang.String name, IIndicatorContext context)
name
- name of the indicatorcontext
- instance of IIndicatorContext
IIndicator getIndicator(java.lang.String name)
name
- name of the indicatorboolean isEnabledOnCharts(java.lang.String indicatorName)
indicatorName
- name of the indicatorjava.lang.String getTitle(java.lang.String name)
name
- name of the indicatorjava.lang.String registerUserIndicator(java.io.File compiledCustomIndicatorFile) throws JFException
compiledCustomIndicatorFile
- file with the compiled indicator (the one with .jfx extension)JFException
- when indicator does not exist or can not be instantiated or does not pass the validationvoid addIndicatorStopListener(IIndicator indicator, IStopListener stopListener)
indicator
- reference to indicatorstopListener
- listener to indicator deinitializationCopyright © 2024. All rights reserved.