public class ChartModifierCollectionBase<T extends IChartModifierBase>
extends com.scichart.core.observable.ObservableCollection<T>
implements com.scichart.core.framework.IAttachable, com.scichart.core.IServiceProvider
Modifier and Type | Field and Description |
---|---|
protected ISciChartSurfaceBase |
parentSurface |
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) |
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 ISciChartSurfaceBase parentSurface
protected ChartModifierCollectionBase()
ChartModifierCollectionBase
classprotected ChartModifierCollectionBase(java.util.Collection<T> collection)
ChartModifierCollectionBase
classcollection
- The collections with items to addpublic com.scichart.core.IServiceContainer getServices()
getServices
in interface com.scichart.core.IServiceProvider
public final void attachTo(@NonNull com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void attachTo(@NonNull 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()