public abstract class ChartModifierCollectionBase<T extends IChartModifierCore> extends ChartModifierCollectionCore<T> implements IChartListener
Modifier and Type | Field and Description |
---|---|
protected IChartListenerService |
changeService |
Modifier | Constructor and Description |
---|---|
protected |
ChartModifierCollectionBase()
Initializes a new instance of
ChartModifierCollectionBase class |
protected |
ChartModifierCollectionBase(java.util.Collection<T> collection)
Initializes a new instance of
ChartModifierCollectionBase class |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services,
boolean subscribeToEvents)
Attaches this instance to
IServiceContainer instance. |
void |
detach() |
attachTo, getServices, isAttached, isSubscribedToEvents
add, add, addAll, addAll, addObserver, clear, remove, remove, removeAll, removeObserver, removeRange, retainAll, set
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
onCollectionChanged, onPropertyChanged
protected IChartListenerService changeService
protected ChartModifierCollectionBase()
ChartModifierCollectionBase
classprotected ChartModifierCollectionBase(java.util.Collection<T> collection)
ChartModifierCollectionBase
classcollection
- The collections with items to addpublic void attachTo(com.scichart.core.IServiceContainer services, boolean subscribeToEvents)
IServiceContainer
instance.attachTo
in class ChartModifierCollectionCore<T extends IChartModifierCore>
services
- The target IServiceContainer
instance.subscribeToEvents
- Specifies whether to subscribe to the event services of services
.public void detach()
detach
in interface com.scichart.core.framework.IAttachable
detach
in class ChartModifierCollectionCore<T extends IChartModifierCore>