i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > visual > IBrushSetsManager

    visual.IBrushSetsManager interface

    A manager for brush sets that controls their lifecycle and provides color resolution.

    Signature:

    interface IBrushSetsManager 
    

    Introduced: version 1.9

    Properties

    Property Modifiers Type Description
    activeBrushSet readonly IBrushSet | null Gets the currently active plug-in-owned brush set, or null if no plug-in brush set is active.

    Methods

    Method Description
    activate(brushSet) Activates a brush set, making it the active brush set and deactivating any other plug-in-owned brush sets.
    create() Creates a new brush set.
    deactivate(brushSet) Deactivates a brush set.
    delete(brushSet) Deletes a brush set, removing it from the manager.
    getColorForElement(elementId) Gets the CSS color string for a chart element based on the active brush sets.
    getColorForRecord(recordId) Gets the CSS color string for a record based on the active brush sets.
    In this article
    Back to top © N. Harris Computer Corporation