Search Results for

    Show / Hide Table of Contents

    Class ModifierGroup

    Allows a collection of modifiers to be added to the SciChartSurface#getChartModifiers(). Child modifiers are stored in the ModifierGroup#childModifiers collection.

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase
    ModifierGroup
    Implements
    IReceiveMotionEventGroup
    Inherited Members
    ChartModifierBase.<T>getMasterModifier(T,IReceiveMotionEvents)
    ChartModifierBase.attachTo(IServiceContainer)
    ChartModifierBase.detach()
    ChartModifierBase.getAllXAxes()
    ChartModifierBase.getAllYAxes()
    ChartModifierBase.getContext()
    ChartModifierBase.getModifierSurface()
    ChartModifierBase.getParentSurface()
    ChartModifierBase.getPointRelativeTo(PointF,IHitTestable)
    ChartModifierBase.getRenderableSeries()
    ChartModifierBase.getRenderableSeriesArea()
    ChartModifierBase.getXAxes()
    ChartModifierBase.getXAxis()
    ChartModifierBase.getXAxis(String)
    ChartModifierBase.getYAxes()
    ChartModifierBase.getYAxis()
    ChartModifierBase.getYAxis(String)
    ChartModifierBase.includeAllAxes()
    ChartModifierBase.includeXAxis(IAxis,boolean)
    ChartModifierBase.includeYAxis(IAxis,boolean)
    ChartModifierBase.isWithinSourceBounds(float,float,boolean,IReceiveMotionEvents)
    ChartModifierBase.onAnnotationsCollectionChanged(CollectionChangedEventArgs<IAnnotation>)
    ChartModifierBase.onAnnotationsDrasticallyChanged()
    ChartModifierBase.onParentSurfaceResized(ResizedMessage)
    ChartModifierBase.onRenderSurfaceRendered(RenderedMessage)
    ChartModifierBase.onXAxesCollectionChanged(CollectionChangedEventArgs<IAxis>)
    ChartModifierBase.onXAxesDrasticallyChanged()
    ChartModifierBase.onYAxesCollectionChanged(CollectionChangedEventArgs<IAxis>)
    ChartModifierBase.onYAxesDrasticallyChanged()
    ChartModifierCore.applyThemeProvider(IThemeProvider)
    ChartModifierCore.checkPointerCounter(MotionEvent,int)
    ChartModifierCore.getEventsGroupTag()
    ChartModifierCore.getIsEnabled()
    ChartModifierCore.getReceiveHandledEvents()
    ChartModifierCore.getServices()
    ChartModifierCore.isAttached()
    ChartModifierCore.onGenericMotion(ModifierTouchEventArgs)
    ChartModifierCore.onIsEnabledChanged(boolean)
    ChartModifierCore.onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.onRenderableSeriesDrasticallyChanged()
    ChartModifierCore.onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    ChartModifierCore.onTouch(ModifierTouchEventArgs)
    ChartModifierCore.setEventsGroupTag(String)
    ChartModifierCore.setIsEnabled(boolean)
    ChartModifierCore.setReceiveHandledEvents(boolean)
    ReceiveMotionEventsBase.getName()
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class ModifierGroup extends ChartModifierBase implements IReceiveMotionEventGroup

    Constructors

    ModifierGroup()

    Creates a new ModifierGroup instance.

    Declaration
    public ModifierGroup()

    ModifierGroup(IChartModifier[] childModifiers)

    Creates a new ModifierGroup instance.

    Declaration
    public ModifierGroup(IChartModifier[] childModifiers)
    Parameters
    Type Name Description
    IChartModifier[] childModifiers

    The child modifiers.

    Methods

    applyThemeProvider(IThemeProvider themeProvider)

    Applies specified theme to current instance

    Declaration
    public void applyThemeProvider(IThemeProvider themeProvider)
    Parameters
    Type Name Description
    IThemeProvider themeProvider
    Overrides
    ChartModifierCore.applyThemeProvider(IThemeProvider themeProvider)

    attachTo(IServiceContainer services)

    Declaration
    public void attachTo(IServiceContainer services)
    Parameters
    Type Name Description
    IServiceContainer services
    Overrides
    ChartModifierBase.attachTo(IServiceContainer services)

    detach()

    Declaration
    public void detach()
    Overrides
    ChartModifierBase.detach()

    getChildModifierByTag(String eventsGroupTag)

    Looks for a IChartModifier with the specified eventsGroupTag in the collection of child modifiers.

    Declaration
    public final IChartModifier getChildModifierByTag(String eventsGroupTag)
    Parameters
    Type Name Description
    String eventsGroupTag

    Tag of the event group.

    Returns
    Type Description
    IChartModifier

    The IChartModifier instance associated with eventsGroupTag.

    getChildModifiers()

    Gets the list of IChartModifier in this group.

    Declaration
    public final ChartModifierCollection getChildModifiers()
    Returns
    Type Description
    ChartModifierCollection

    The list of modifiers in this group.

    getEventsSource()

    Gets the (@Link IChartModifierSurface) associated with this (@Link ModifierGroup).

    Declaration
    public IHitTestable getEventsSource()
    Returns
    Type Description
    IHitTestable

    getMotionEventGroup()

    Declaration
    public final String getMotionEventGroup()
    Returns
    Type Description
    String

    isTouchArgsValidForModifier(ModifierTouchEventArgs args, IChartModifier modifier)

    Checks if ModifierTouchEventArgs are valid for specified modifier

    Declaration
    protected boolean isTouchArgsValidForModifier(ModifierTouchEventArgs args, IChartModifier modifier)
    Parameters
    Type Name Description
    ModifierTouchEventArgs args

    The args to process by modifier

    IChartModifier modifier

    The target modifier

    Returns
    Type Description
    boolean

    True if args are valid and should be passed to target modifier, otherwise false

    onAnnotationsCollectionChanged(CollectionChangedEventArgs<IAnnotation> args)

    Called when parent SciChartSurface#getAnnotations() collection changes

    Declaration
    public void onAnnotationsCollectionChanged(CollectionChangedEventArgs<IAnnotation> args)
    Parameters
    Type Name Description
    CollectionChangedEventArgs<IAnnotation> args
    Overrides
    ChartModifierBase.onAnnotationsCollectionChanged(CollectionChangedEventArgs<IAnnotation> args)

    onAnnotationsDrasticallyChanged()

    Called when parent SciChartSurface#getAnnotations() collection drastically changed

    Declaration
    public void onAnnotationsDrasticallyChanged()
    Overrides
    ChartModifierBase.onAnnotationsDrasticallyChanged()

    onGenericMotion(ModifierTouchEventArgs args)

    Declaration
    public void onGenericMotion(ModifierTouchEventArgs args)
    Parameters
    Type Name Description
    ModifierTouchEventArgs args
    Overrides
    ChartModifierCore.onGenericMotion(ModifierTouchEventArgs args)

    onIsEnabledChanged(boolean isEnabled)

    Called when isEnabled value has changed

    Declaration
    protected void onIsEnabledChanged(boolean isEnabled)
    Parameters
    Type Name Description
    boolean isEnabled
    Overrides
    ChartModifierCore.onIsEnabledChanged(boolean isEnabled)

    onParentSurfaceResized(ResizedMessage message)

    Called when chart resized.

    Declaration
    public void onParentSurfaceResized(ResizedMessage message)
    Parameters
    Type Name Description
    ResizedMessage message
    Overrides
    ChartModifierBase.onParentSurfaceResized(ResizedMessage message)

    onRenderSurfaceRendered(RenderedMessage message)

    Called when parent SciChartSurface#getRenderSurface() rendered

    Declaration
    public void onRenderSurfaceRendered(RenderedMessage message)
    Parameters
    Type Name Description
    RenderedMessage message
    Overrides
    ChartModifierBase.onRenderSurfaceRendered(RenderedMessage message)

    onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)

    Called when RenderableSeries changes

    Declaration
    public void onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
    Parameters
    Type Name Description
    CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> args
    Overrides
    ChartModifierCore.onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)

    onRenderableSeriesDrasticallyChanged()

    Called when RenderableSeries collection drastically changed

    Declaration
    public void onRenderableSeriesDrasticallyChanged()
    Overrides
    ChartModifierCore.onRenderableSeriesDrasticallyChanged()

    onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)

    Called when SelectedSeries collection changes

    Declaration
    public void onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
    Parameters
    Type Name Description
    CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> args
    Overrides
    ChartModifierCore.onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)

    onTouch(ModifierTouchEventArgs args)

    Declaration
    public void onTouch(ModifierTouchEventArgs args)
    Parameters
    Type Name Description
    ModifierTouchEventArgs args
    Overrides
    ChartModifierCore.onTouch(ModifierTouchEventArgs args)

    onXAxesCollectionChanged(CollectionChangedEventArgs<IAxis> args)

    Called when parent SciChartSurface#getXAxes() collection changes

    Declaration
    public void onXAxesCollectionChanged(CollectionChangedEventArgs<IAxis> args)
    Parameters
    Type Name Description
    CollectionChangedEventArgs<IAxis> args
    Overrides
    ChartModifierBase.onXAxesCollectionChanged(CollectionChangedEventArgs<IAxis> args)

    onXAxesDrasticallyChanged()

    Called when parent SciChartSurface#getXAxes() collection drastically changed

    Declaration
    public void onXAxesDrasticallyChanged()
    Overrides
    ChartModifierBase.onXAxesDrasticallyChanged()

    onYAxesCollectionChanged(CollectionChangedEventArgs<IAxis> args)

    Called when parent SciChartSurface#getYAxes() collection changes

    Declaration
    public void onYAxesCollectionChanged(CollectionChangedEventArgs<IAxis> args)
    Parameters
    Type Name Description
    CollectionChangedEventArgs<IAxis> args
    Overrides
    ChartModifierBase.onYAxesCollectionChanged(CollectionChangedEventArgs<IAxis> args)

    onYAxesDrasticallyChanged()

    Called when parent SciChartSurface#getYAxes() collection drastically changed

    Declaration
    public void onYAxesDrasticallyChanged()
    Overrides
    ChartModifierBase.onYAxesDrasticallyChanged()

    setChildModifiers(ChartModifierCollection childModifiers)

    Sets the list of IChartModifier in this group.

    Declaration
    public final void setChildModifiers(ChartModifierCollection childModifiers)
    Parameters
    Type Name Description
    ChartModifierCollection childModifiers

    The new list of modifiers in this group.

    setMotionEventGroup(String eventGroup)

    Sets the ID of the motion event group, which is used to share motion events across multiple targets.

    Declaration
    public final void setMotionEventGroup(String eventGroup)
    Parameters
    Type Name Description
    String eventGroup

    The String tag of the motion event group.

    Implements

    IReceiveMotionEventGroup
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml