Search Results for

    Show / Hide Table of Contents

    Class ViewportManagerBase<TParentSurface>

    Defines a base class for a ViewportManager, which may be used to control visible range and ranging on a SciChartSurface

    Inheritance
    java.lang.Object
    ViewportManagerBase<TParentSurface>
    Implements
    viewportManagers.IViewportManager
    Inherited Members
    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 abstract class ViewportManagerBase<TParentSurface> implements viewportManagers.IViewportManager
    Type Parameters
    Name Description
    TParentSurface

    Constructors

    ViewportManagerBase(Class<TParentSurface> parentSurfaceType)

    Declaration
    protected ViewportManagerBase(Class<TParentSurface> parentSurfaceType)
    Parameters
    Type Name Description
    Class<TParentSurface> parentSurfaceType

    Fields

    parentSurface

    Declaration
    protected TParentSurface parentSurface
    Field Value
    Type Description
    TParentSurface

    Methods

    attachTo(IServiceContainer services)

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

    decrementSuspend()

    Declaration
    public void decrementSuspend()

    detach()

    Declaration
    public void detach()

    getIsSuspended()

    Declaration
    public final boolean getIsSuspended()
    Returns
    Type Description
    boolean

    getUpdateSuspenderCount()

    Declaration
    public final AtomicInteger getUpdateSuspenderCount()
    Returns
    Type Description
    AtomicInteger

    invalidateElement()

    Declaration
    public final void invalidateElement()

    invalidateParentSurface()

    May be called to trigger a redraw on the parent surface

    Declaration
    public final void invalidateParentSurface()

    isAttached()

    Declaration
    public boolean isAttached()
    Returns
    Type Description
    boolean

    onApplyAutoRange(IAxisCore axis)

    Applies auto range on specified axis

    Declaration
    protected void onApplyAutoRange(IAxisCore axis)
    Parameters
    Type Name Description
    IAxisCore axis

    The axis to perform auto range on

    onUpdateXAxis(IAxisCore xAxis)

    Updates XAxis and its Visible Range

    Declaration
    protected abstract void onUpdateXAxis(IAxisCore xAxis)
    Parameters
    Type Name Description
    IAxisCore xAxis

    The xAxis to update

    onUpdateYAxis(IAxisCore yAxis)

    Updates YAxis and its Visible Range

    Declaration
    protected abstract void onUpdateYAxis(IAxisCore yAxis)
    Parameters
    Type Name Description
    IAxisCore yAxis

    The yAxis to update

    onVisibleRangeChanged(IAxisCore axis, IRange oldRange, IRange newRange, boolean isAnimating)

    Called when the VisibleRange changes for an axis. Override in derived types to get a notification of this occurring

    Declaration
    public void onVisibleRangeChanged(IAxisCore axis, IRange oldRange, IRange newRange, boolean isAnimating)
    Parameters
    Type Name Description
    IAxisCore axis
    IRange oldRange
    IRange newRange
    boolean isAnimating

    resumeUpdates(IUpdateSuspender suspender)

    Declaration
    public void resumeUpdates(IUpdateSuspender suspender)
    Parameters
    Type Name Description
    IUpdateSuspender suspender

    suspendUpdates()

    Declaration
    public final IUpdateSuspender suspendUpdates()
    Returns
    Type Description
    IUpdateSuspender

    tryPerformAutoRange(IAxisCore axis)

    Called during render to perform autoranging. Override in derived types to set a custom value

    Declaration
    public final void tryPerformAutoRange(IAxisCore axis)
    Parameters
    Type Name Description
    IAxisCore axis

    updateXAxis(IAxisCore xAxis)

    Called during render to update XAxis VisibleRange. Override in derived types to set a custom value

    Declaration
    public final void updateXAxis(IAxisCore xAxis)
    Parameters
    Type Name Description
    IAxisCore xAxis

    updateYAxis(IAxisCore yAxis)

    Called during render to update YAxis VisibleRange. Override in derived types to set a custom value

    Declaration
    public final void updateYAxis(IAxisCore yAxis)
    Parameters
    Type Name Description
    IAxisCore yAxis

    Implements

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