public class ChartModifierCollection extends ChartModifierCollectionBase<IChartModifier>
IChartModifier
changeService
Constructor and Description |
---|
ChartModifierCollection() |
ChartModifierCollection(java.util.Collection<IChartModifier> collection) |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services,
boolean subscribeToEvents)
Attaches this instance to
IServiceContainer instance. |
void |
detach() |
void |
onAnnotationsCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<IAnnotation> args) |
void |
onAnnotationsDrasticallyChanged() |
void |
onCollectionChanged(int propertyId,
com.scichart.core.observable.CollectionChangedEventArgs<?> args)
Caleed when collection associated with specified id changes
|
void |
onParentSurfaceResized(ResizedMessage message) |
void |
onPropertyChanged(int propertyId)
Called when property with specified id changes
|
void |
onRenderSurfaceRendered(RenderedMessage message) |
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
public ChartModifierCollection()
public ChartModifierCollection(java.util.Collection<IChartModifier> collection)
public void attachTo(com.scichart.core.IServiceContainer services, boolean subscribeToEvents)
IServiceContainer
instance.attachTo
in class ChartModifierCollectionBase<IChartModifier>
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 ChartModifierCollectionBase<IChartModifier>
public final void onParentSurfaceResized(ResizedMessage message)
public final void onRenderSurfaceRendered(RenderedMessage message)
public final void onAnnotationsDrasticallyChanged()
public final void onAnnotationsCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<IAnnotation> args)
public void onPropertyChanged(int propertyId)
propertyId
- The id of propertypublic void onCollectionChanged(int propertyId, com.scichart.core.observable.CollectionChangedEventArgs<?> args)
propertyId
- The id of propertyargs
- The args with information about changes in collection