public class ChartModifierCollectionCore<T extends IChartModifierCore>
extends com.scichart.core.observable.ObservableCollection<T>
implements com.scichart.core.framework.IAttachable, com.scichart.core.IServiceProvider
Modifier | Constructor and Description |
---|---|
protected |
ChartModifierCollectionCore()
Initializes a new instance of
ChartModifierCollectionCore class |
protected |
ChartModifierCollectionCore(java.util.Collection<T> collection)
Initializes a new instance of
ChartModifierCollectionCore class |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
attachTo(com.scichart.core.IServiceContainer services,
boolean subscribeToEvents)
Attaches this instance to
IServiceContainer instance. |
void |
detach() |
com.scichart.core.IServiceContainer |
getServices() |
boolean |
isAttached() |
protected boolean |
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
protected ChartModifierCollectionCore()
ChartModifierCollectionCore
classprotected ChartModifierCollectionCore(java.util.Collection<T> collection)
ChartModifierCollectionCore
classcollection
- The collections with items to addpublic com.scichart.core.IServiceContainer getServices()
getServices
in interface com.scichart.core.IServiceProvider
public final void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void attachTo(com.scichart.core.IServiceContainer services, boolean subscribeToEvents)
IServiceContainer
instance.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
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
protected final boolean isSubscribedToEvents()