Search Results for

    Show / Hide Table of Contents

    Class AnnotationCreationModifier

    Defines a custom modifier which allows creation of annotation on touch gestures

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase
    TouchModifierBase
    AnnotationCreationModifier
    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.setEventsGroupTag(String)
    ChartModifierCore.setIsEnabled(boolean)
    ChartModifierCore.setReceiveHandledEvents(boolean)
    TouchModifierBase.onTouch(ModifierTouchEventArgs)
    TouchModifierBase.onTouchCancel(ModifierTouchEventArgs)
    TouchModifierBase.onTouchDown(ModifierTouchEventArgs)
    TouchModifierBase.onTouchMove(ModifierTouchEventArgs)
    TouchModifierBase.onTouchUp(ModifierTouchEventArgs)
    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 AnnotationCreationModifier extends TouchModifierBase

    Constructors

    AnnotationCreationModifier()

    Declaration
    public AnnotationCreationModifier()

    Methods

    createAnnotation(ISciChartSurface parentSurface, IAnnotationFactory annotationFactory, int annotationType)

    Creates an annotation

    Declaration
    protected IAnnotation createAnnotation(ISciChartSurface parentSurface, IAnnotationFactory annotationFactory, int annotationType)
    Parameters
    Type Name Description
    ISciChartSurface parentSurface
    IAnnotationFactory annotationFactory
    int annotationType
    Returns
    Type Description
    IAnnotation

    getAnnotationFactory()

    Gets the annotation factory which creates new annotations which are used this modifier

    Declaration
    public final IAnnotationFactory getAnnotationFactory()
    Returns
    Type Description
    IAnnotationFactory

    The current annotation factory

    getAnnotationType()

    Gets the type of annotation to create

    Declaration
    public final int getAnnotationType()
    Returns
    Type Description
    int

    The current annotation type

    getXAxisId()

    Gets the xAxis id for annotations created by this modifier

    Declaration
    public final String getXAxisId()
    Returns
    Type Description
    String

    The current xAxis id

    getYAxisId()

    Gets the yAxis id for annotations created by this modifier

    Declaration
    public final String getYAxisId()
    Returns
    Type Description
    String

    The current yAxis id

    onAnnotationCreated(IAnnotation newAnnotation)

    Called when new annotation is created

    Declaration
    protected final void onAnnotationCreated(IAnnotation newAnnotation)
    Parameters
    Type Name Description
    IAnnotation newAnnotation

    onTouchDown(ModifierTouchEventArgs args)

    Called when MotionEvent#ACTION_DOWN event occurs

    Declaration
    protected boolean onTouchDown(ModifierTouchEventArgs args)
    Parameters
    Type Name Description
    ModifierTouchEventArgs args
    Returns
    Type Description
    boolean
    Overrides
    TouchModifierBase.onTouchDown(ModifierTouchEventArgs args)

    onTouchMove(ModifierTouchEventArgs args)

    Called when MotionEvent#ACTION_MOVE event occurs

    Declaration
    protected boolean onTouchMove(ModifierTouchEventArgs args)
    Parameters
    Type Name Description
    ModifierTouchEventArgs args
    Returns
    Type Description
    boolean
    Overrides
    TouchModifierBase.onTouchMove(ModifierTouchEventArgs args)

    onTouchUp(ModifierTouchEventArgs args)

    Called when MotionEvent#ACTION_UP event occurs

    Declaration
    protected boolean onTouchUp(ModifierTouchEventArgs args)
    Parameters
    Type Name Description
    ModifierTouchEventArgs args
    Returns
    Type Description
    boolean
    Overrides
    TouchModifierBase.onTouchUp(ModifierTouchEventArgs args)

    setAnnotationCreationListener(OnAnnotationCreatedListener listener)

    Sets the OnAnnotationCreatedListener instance which is called whenever new annotation is created by this modifier

    Declaration
    public final void setAnnotationCreationListener(OnAnnotationCreatedListener listener)
    Parameters
    Type Name Description
    OnAnnotationCreatedListener listener

    The new listener instance

    setAnnotationFactory(IAnnotationFactory annotationFactory)

    Sets the annotation factory which creates new annotations which are used this modifier

    Declaration
    public final void setAnnotationFactory(IAnnotationFactory annotationFactory)
    Parameters
    Type Name Description
    IAnnotationFactory annotationFactory

    The new annotation factory

    setAnnotationType(int annotationType)

    Sets the type of annotation to create

    Declaration
    public final void setAnnotationType(int annotationType)
    Parameters
    Type Name Description
    int annotationType

    The new annotation type

    setXAxisId(String xAxisId)

    Sets the xAxis id for annotations created by this modifier

    Declaration
    public final void setXAxisId(String xAxisId)
    Parameters
    Type Name Description
    String xAxisId

    The new xAxis id

    setYAxisId(String yAxisId)

    Sets the yAxis id for annotations created by this modifier

    Declaration
    public final void setYAxisId(String yAxisId)
    Parameters
    Type Name Description
    String yAxisId

    The new xAxis id

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