Movatterモバイル変換


[0]ホーム

URL:


  • Preparing search index...
  • The search index is not available
algorithm-visualizer
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Array2DTracer

Hierarchy

Index

Constructors

constructor

Methods

depatch

  • depatch(x:number, y:number):void
  • Stop notifying that a value has been changed.

    Parameters

    • x:number

      The row index of the array.

    • y:number

      The column index of the array.

    Returnsvoid

deselect

  • deselect(sx:number, sy:number, ex?:undefined |number, ey?:undefined |number):void
  • Stop selecting indices of the array.

    Parameters

    • sx:number

      The row index to stop selecting inclusively from.

    • sy:number

      The column index to stop selecting inclusively from.

    • Optional ex:undefined |number

      The row index to stop selecting inclusively to. If omitted, it will only stop selecting indexsx.

    • Optional ey:undefined |number

      The column index to stop selecting inclusively to. If omitted, it will only stop selecting indexsy.

    Returnsvoid

deselectCol

  • deselectCol(y:number, sx:number, ex:number):void
  • Stop selecting indices of a column of the array.

    Parameters

    • y:number

      The column index to stop selecting.

    • sx:number

      The row index to stop selecting inclusively from.

    • ex:number

      The row index to stop selecting inclusively to.

    Returnsvoid

deselectRow

  • deselectRow(x:number, sy:number, ey:number):void
  • Stop selecting indices of a row of the array.

    Parameters

    • x:number

      The row index to stop selecting.

    • sy:number

      The column index to stop selecting inclusively from.

    • ey:number

      The column index to stop selecting inclusively to.

    Returnsvoid

destroy

  • destroy():void

patch

  • patch(x:number, y:number, v?:any):void
  • Notify that a value has been changed.

    Parameters

    • x:number

      The row index of the array.

    • y:number

      The column index of the array.

    • Optional v:any

      The new value to change to.

    Returnsvoid

reset

  • reset():void

select

  • select(sx:number, sy:number, ex?:undefined |number, ey?:undefined |number):void
  • Select indices of the array.

    Parameters

    • sx:number

      The row index to select inclusively from.

    • sy:number

      The column index to select inclusively from.

    • Optional ex:undefined |number

      The row index to select inclusively to. If omitted, it will only select indexsx.

    • Optional ey:undefined |number

      The column index to select inclusively to. If omitted, it will only select indexsy.

    Returnsvoid

selectCol

  • selectCol(y:number, sx:number, ex:number):void
  • Select indices of a column of the array.

    Parameters

    • y:number

      The column index to select.

    • sx:number

      The row index to select inclusively from.

    • ex:number

      The row index to select inclusively to.

    Returnsvoid

selectRow

  • selectRow(x:number, sy:number, ey:number):void
  • Select indices of a row of the array.

    Parameters

    • x:number

      The row index to select.

    • sy:number

      The column index to select inclusively from.

    • ey:number

      The column index to select inclusively to.

    Returnsvoid

set

  • set(array2d?:any[][]):void

Static delay

  • delay(lineNumber?:Number):void
  • Inherited fromTracer.delay

    Pause to show changes in all tracers.

    Parameters

    • Optional lineNumber:Number

      The line number to indicate when paused. If omitted, the line calling this method will be indicated.

    Returnsvoid

Generated usingTypeDoc


[8]ページ先頭

©2009-2025 Movatter.jp