Class CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>Abstract

Base class for cursor builders. Cursor builders build cursors with parts of types as indicated by the builders type. All setters of Cursor builders create new builders based on their current state and don't modify the actual object.

Type Parameters

  • PointMarkerType extends PointMarker

  • ResultTableBackgroundType extends UIBackground

  • CursorType extends Cursor<PointMarkerType, ResultTableBackgroundType>

Hierarchy

Properties

addStyler: ((cursorStyler: CursorStyler<CursorType>) => ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>)

Type declaration

    • (cursorStyler: CursorStyler<CursorType>): ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>
    • Create new CursorBuilder with an additional styler.

      Returns

      CursorBuilder of same type

      Parameters

      • cursorStyler: CursorStyler<CursorType>

        Cursor styler function

      Returns ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>

setPointMarker: (<T>(pointMarkerConstructor: PointMarkerConstructor<T>) => ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>)

Type declaration

    • <T>(pointMarkerConstructor: PointMarkerConstructor<T>): ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>
    • Create new CursorBuilder with a different PointMarker.

      Returns

      CursorBuilder of same type

      Type Parameters

      Parameters

      • pointMarkerConstructor: PointMarkerConstructor<T>

        Constructor for PointMarker. See PointMarkers for a collection of options.

      Returns ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>

setResultTableBackground: (<T>(resultTableBackgroundConstructor: BackgroundConstructor<T>) => ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>)

Type declaration

    • <T>(resultTableBackgroundConstructor: BackgroundConstructor<T>): ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>
    • Create new CursorBuilder with a different ResultTable Background.

      Returns

      CursorBuilder of same type

      Type Parameters

      Parameters

      • resultTableBackgroundConstructor: BackgroundConstructor<T>

        Constructor for Background

      Returns ThisType<CursorBuilder<PointMarkerType, ResultTableBackgroundType, CursorType>>