public abstract class CollectionPropertyHelper<E>
extends java.lang.Object
implements com.scichart.core.observable.ICollectionObserver<E>
Modifier and Type | Field and Description |
---|---|
protected IPropertyHolder |
propertyHolder |
Constructor and Description |
---|
CollectionPropertyHelper(IPropertyHolder propertyHolder,
int propertyId) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
attachTo(E item,
com.scichart.core.IServiceContainer services) |
protected abstract void |
detach(E item) |
protected void |
invalidatePropertyHolder() |
void |
onCollectionChanged(com.scichart.core.observable.ObservableCollection<E> collection,
com.scichart.core.observable.CollectionChangedEventArgs<E> args) |
void |
onCollectionDrasticallyChanged(com.scichart.core.observable.ObservableCollection<E> oldValue,
com.scichart.core.observable.ObservableCollection<E> newValue) |
protected final IPropertyHolder propertyHolder
public CollectionPropertyHelper(IPropertyHolder propertyHolder, int propertyId)
public void onCollectionDrasticallyChanged(com.scichart.core.observable.ObservableCollection<E> oldValue, com.scichart.core.observable.ObservableCollection<E> newValue)
public void onCollectionChanged(com.scichart.core.observable.ObservableCollection<E> collection, com.scichart.core.observable.CollectionChangedEventArgs<E> args) throws java.lang.Exception
onCollectionChanged
in interface com.scichart.core.observable.ICollectionObserver<E>
java.lang.Exception
protected abstract void detach(E item)
protected abstract void attachTo(E item, com.scichart.core.IServiceContainer services)
protected void invalidatePropertyHolder()