public interface IIndicatorsProvider
Interface to get indicator groups, indicator names, and indicators themselves
| Method Summary | |
|---|---|
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 compiledCustomIndcatorFile)
Attempts to open and register custom indicator in the system |
java.lang.String |
registerUserIndicator(java.io.File compiledCustomIndicatorFile,
boolean packInJfx)
Attempts to open and register custom indicator in the system If packInJfx is set true then all custom indicator files will be packaged inside indicators's jfx file |
| Method Detail |
|---|
java.util.Collection<java.lang.String> getGroups()
java.util.Collection<java.lang.String> getNames(java.lang.String groupName)
groupName - indicator group
java.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 indicator
boolean isEnabledOnCharts(java.lang.String indicatorName)
indicatorName - name of the indicator
java.lang.String getTitle(java.lang.String name)
name - name of the indicator
java.lang.String registerUserIndicator(java.io.File compiledCustomIndcatorFile)
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 validation
java.lang.String registerUserIndicator(java.io.File compiledCustomIndicatorFile,
boolean packInJfx)
throws JFException
compiledCustomIndicatorFile - file with the compiled indicator (the one with .jfx extension)packInJfx - true if indicator .jfx file is packaged inside indicators's jfx file
JFException - when indicator does not exist or can not be instantiated or does not pass the validation