Search Results for

    Show / Hide Table of Contents

    Class ZoomExtentsModifier

    Provides zoom to extents, or zoom to specific X and Y VisibleRange on touch gesture.

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    ChartModifierBase
    GestureModifierBase
    ZoomExtentsModifier
    Inherited Members
    ChartModifierBase.<T>getMasterModifier(T,IReceiveMotionEvents)
    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)
    GestureModifierBase.attachTo(IServiceContainer)
    GestureModifierBase.detach()
    GestureModifierBase.getOriginalTouchEvent()
    GestureModifierBase.onCancel(MotionEvent)
    GestureModifierBase.onDoubleTap(MotionEvent)
    GestureModifierBase.onDoubleTapEvent(MotionEvent)
    GestureModifierBase.onDown(MotionEvent)
    GestureModifierBase.onFling(MotionEvent,MotionEvent,float,float)
    GestureModifierBase.onLongPress(MotionEvent)
    GestureModifierBase.onScroll(MotionEvent,MotionEvent,float,float)
    GestureModifierBase.onShowPress(MotionEvent)
    GestureModifierBase.onSingleTapConfirmed(MotionEvent)
    GestureModifierBase.onSingleTapUp(MotionEvent)
    GestureModifierBase.onTouch(ModifierTouchEventArgs)
    GestureModifierBase.onUp(MotionEvent)
    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 ZoomExtentsModifier extends GestureModifierBase

    Constructors

    ZoomExtentsModifier()

    Creates a new instance of the ZoomExtentsModifier class.

    Declaration
    public ZoomExtentsModifier()

    Fields

    DEFAULT_ANIMATION_DURATION

    Gets the default animation duration for ZoomExtentsModifier.

    Declaration
    public static final long DEFAULT_ANIMATION_DURATION
    Field Value
    Type Description
    long

    Methods

    getDirection()

    Gets the Direction2D mode of the ZoomExtentsModifier.

    Declaration
    public final Direction2D getDirection()
    Returns
    Type Description
    Direction2D

    the Direction2D mode of the ZoomExtentsModifier.

    getExecuteOn()

    Gets when the ZoomExtentsModifier should be executed. e.g. ExecuteOn#DoubleTap will cause a zoom to extents on double tap on the parent SciChartSurface instance.

    Declaration
    public final ExecuteOn getExecuteOn()
    Returns
    Type Description
    ExecuteOn

    When the ZoomExtentsModifier should be executed.

    getIsAnimated()

    Gets whether zoom operations should be animated.

    Declaration
    public final boolean getIsAnimated()
    Returns
    Type Description
    boolean

    True is zoom is animated, else - false.

    onDoubleTap(MotionEvent e)

    Declaration
    public boolean onDoubleTap(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase.onDoubleTap(MotionEvent e)

    onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

    Declaration
    public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
    Parameters
    Type Name Description
    android.view.MotionEvent e1
    android.view.MotionEvent e2
    float velocityX
    float velocityY
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase.onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)

    onLongPress(MotionEvent e)

    Declaration
    public void onLongPress(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Overrides
    GestureModifierBase.onLongPress(MotionEvent e)

    onSingleTapConfirmed(MotionEvent e)

    Declaration
    public boolean onSingleTapConfirmed(MotionEvent e)
    Parameters
    Type Name Description
    android.view.MotionEvent e
    Returns
    Type Description
    boolean
    Overrides
    GestureModifierBase.onSingleTapConfirmed(MotionEvent e)

    performZoom()

    Performs the zoom function. Called when the user double taps. May be overridden in derived classes to customize what the zoom actually does.

    Declaration
    protected void performZoom()

    setDirection(Direction2D direction)

    Sets the Direction2D mode of the ZoomExtentsModifier.

    Declaration
    public final void setDirection(Direction2D direction)
    Parameters
    Type Name Description
    Direction2D direction

    The new Direction2D mode of the ZoomExtentsModifier.

    setExecuteOn(ExecuteOn executeOn)

    Sets when the ZoomExtentsModifier should be executed. e.g. ExecuteOn#DoubleTap will cause a zoom to extents on double tap on the parent SciChartSurface instance.

    Declaration
    public final void setExecuteOn(ExecuteOn executeOn)
    Parameters
    Type Name Description
    ExecuteOn executeOn

    When the ZoomExtentsModifier should be executed.

    setIsAnimated(boolean isAnimated)

    Sets whether zoom operations should be animated.

    Declaration
    public final void setIsAnimated(boolean isAnimated)
    Parameters
    Type Name Description
    boolean isAnimated

    Whether zoom operations should be animated.

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