public abstract class ChartChangeServiceBase extends java.lang.Object implements IChartListenerService
IChartListenerService
implementationsConstructor and Description |
---|
ChartChangeServiceBase() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IChartListener listener)
Register specified
IChartListener instance as listener for changes in chart |
void |
onCollectionChanged(int eventId,
com.scichart.core.observable.CollectionChangedEventArgs args)
Caleed when collection associated with specified id changes
|
void |
onPropertyChanged(int propertyId)
Called when property with specified id changes
|
void |
removeListener(IChartListener listener)
Removes specified
IChartListener instance from list of listener for changes in chart |
public void addListener(IChartListener listener)
IChartListenerService
IChartListener
instance as listener for changes in chartaddListener
in interface IChartListenerService
listener
- The listener instance to addpublic void removeListener(IChartListener listener)
IChartListenerService
IChartListener
instance from list of listener for changes in chartremoveListener
in interface IChartListenerService
listener
- The listener instance to removepublic void onPropertyChanged(int propertyId)
IChartListener
onPropertyChanged
in interface IChartListener
propertyId
- The id of propertypublic void onCollectionChanged(int eventId, com.scichart.core.observable.CollectionChangedEventArgs args)
IChartListener
onCollectionChanged
in interface IChartListener
eventId
- The id of propertyargs
- The args with information about changes in collection