Search Results for

    Show / Hide Table of Contents

    Interface ISuspendable

    Classes which implement ISuspendable can have updates suspended/resumed. Useful for batch operations

    Namespace:
    Assembly: .dll
    Syntax
    public interface ISuspendable

    Methods

    decrementSuspend()

    Called by IUpdateSuspender each time a target suspender is disposed. When the final target suspender has been disposed, #resumeUpdates(IUpdateSuspender) is called

    Declaration
    public abstract void decrementSuspend()

    getIsSuspended()

    Gets a value indicating whether updates for the target are currently suspended

    Declaration
    public abstract boolean getIsSuspended()
    Returns
    Type Description
    boolean

    True if this instance is suspended

    getUpdateSuspenderCount()

    Gets the counter used to count amount UpdateSuspender instances associated with current ISuspendable

    Declaration
    public abstract AtomicInteger getUpdateSuspenderCount()
    Returns
    Type Description
    AtomicInteger

    The counter used to count amount UpdateSuspender instances associated with current ISuspendable

    resumeUpdates(IUpdateSuspender suspender)

    Resumes updates on the target, intended to e called by IUpdateSuspender

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

    IUpdateSuspender instance which was created by #suspendUpdates() call

    suspendUpdates()

    Suspends drawing updated on the target until the returned object is disposed, when a final draw call will be issued

    Declaration
    public abstract IUpdateSuspender suspendUpdates()
    Returns
    Type Description
    IUpdateSuspender

    IUpdateSuspender instance which suspends updated until it will be disposed

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