Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StaticCursor<PointMarkerType, ResultTableBackgroundType>

StaticCursors are always positioned on the same scale.

Index

Properties

disposeResultTable

disposeResultTable : function

Dispose ResultTable

returns

Object itself for fluent interface

    • Returns this

getPointMarker

getPointMarker : function

Get PointMarker object. PointMarker is a visual that is displayed at the Cursors position

returns

PointMarker object

    • Returns PointMarkerType

getPosition

getPosition : function

Get current position of Cursor on its scale

returns

Position on Cursors scale

getResultTable

getResultTable : function

Get ResultTable object. ResultTable is a visual that displays currently pointed data next to its location

returns

ResultTable object

isDisposeResultTable

isDisposeResultTable : function
returns

Weather ResultTable is disposed

    • Returns boolean

isDisposedPointMarker

isDisposedPointMarker : function
returns

Weather PointMarker is disposed

    • Returns boolean

pointAt

pointAt : function

Points the Cursor at a given CursorPoint. Updating its position and displayed data.

restoreResultTable

restoreResultTable : function

Restore ResultTable

returns

Object itself for fluent interface

    • Returns this

setPointMarker

setPointMarker : function

Mutator function for PointMarker. PointMarker is a visual that is displayed at the Cursors position

param

Mutator function for PointMarker

returns

Object itself for fluent interface

    • Parameters

      • mutator: Mutator<PointMarkerType>

      Returns this

setPosition

setPosition : function

Set the position of the Cursor, moving it without modifying displayed data.

    • Parameters

      Returns this

setResultTable

setResultTable : function

Mutator function for ResultTable. ResultTable is a visual that displays currently pointed data next to its location

param

Mutator function for ResultTable

returns

Object itself for fluent interface

Methods

dispose

  • dispose(): this
  • Remove the component from rendering.

    If the Component supports it, this can be reverted with restore() method.

    Returns this

    Object itself for fluent interface.

disposePointMarker

  • disposePointMarker(): this
  • Restore PointMarker

    Returns this

    Object itself for fluent interface

getAutoFitStrategy

  • getAutoFitStrategy(): boolean
  • Get is AutoFitStrategy enabled. Customizable logic which attempts to fit ResultTable to view.

    Returns boolean

    Boolean flag whether auto-fit is enabled

isDisposed

  • isDisposed(): boolean
  • Returns boolean

    True if the component is currently disposed, and thus not being rendered. If the Component supports it, this can be reverted with restore() method.

restore

  • restore(): this
  • After the Components dispose() method has been called, removing it from rendering, restore() can be used to return it back.

    Returns this

    Object itself for fluent interface.

restorePointMarker

  • restorePointMarker(): this
  • Dispose PointMarker

    Returns this

    Object itself for fluent interface

setAutoFitStrategy

  • setAutoFitStrategy(autoFitStrategy?: AutoFitStrategyFactory<ResultTableBackgroundType>): this
  • Set AutoFitStrategy of Cursor. Customizable logic which attempts to fit ResultTable to view.

    See AutoFitStrategies for available options.

    Parameters

    • autoFitStrategy: AutoFitStrategyFactory<ResultTableBackgroundType>

      AutoFitStrategy or undefined to disable auto-fitting

    Returns this

    Object itself for fluent interface