public class PieChartModifierCollection extends ChartModifierCollectionBase<IPieChartModifier>
IPieChartModifier
changeService
Constructor and Description |
---|
PieChartModifierCollection() |
PieChartModifierCollection(java.util.Collection<IPieChartModifier> 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 |
onCollectionChanged(int propertyId,
com.scichart.core.observable.CollectionChangedEventArgs<?> args)
Caleed when collection associated with specified id changes
|
void |
onPieRenderSurfaceRendered(PieChartRenderedMessage renderedMessage) |
void |
onPropertyChanged(int propertyId)
Called when property with specified id changes
|
void |
onSegmentCollectionDrasticallyChanged() |
void |
onSegmentsCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<IPieSegment> args) |
void |
onSelectedSegmentsCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<IPieSegment> args) |
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 PieChartModifierCollection()
public PieChartModifierCollection(java.util.Collection<IPieChartModifier> collection)
public void attachTo(com.scichart.core.IServiceContainer services, boolean subscribeToEvents)
IServiceContainer
instance.attachTo
in class ChartModifierCollectionBase<IPieChartModifier>
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<IPieChartModifier>
public final void onPieRenderSurfaceRendered(PieChartRenderedMessage renderedMessage)
public final void onSegmentCollectionDrasticallyChanged()
public final void onSegmentsCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<IPieSegment> args)
public final void onSelectedSegmentsCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<IPieSegment> args)
public void onPropertyChanged(int propertyId)
IChartListener
propertyId
- The id of propertypublic void onCollectionChanged(int propertyId, com.scichart.core.observable.CollectionChangedEventArgs<?> args)
IChartListener
propertyId
- The id of propertyargs
- The args with information about changes in collection