Documentation - v19.12.0-dev
    Preparing search index...

    The WidgetFactory handles all the type of widgets that can be display on the viewer. Use the registerWidget method to register (override) the widget to display for a given widget type.

    Index

    Constructors

    Methods

    • Registers the callback function to create the given widget type into the factory

      Type Parameters

      Parameters

      • type: TType

        The type of the widget to register the creation fonction

      • buildFunction: FactoryMap[TType]

        The callback function

      Returns void

    • Type Parameters

      Parameters

      Returns void