Daff - Data Diff

daff.SimpleTable

A basic table implementation. Each supported language should have an optimized native implementation that you can use instead. See the Table interface for documentation.

Type: class

Implements:

Static Methods:

tableIsSimilar (tab1 : Table, tab2 : Table) : Bool
  Compare the content of two tables.

Parameters:

  • tab1 the first table
  • tab2 the second table

Returns: true if the tables are identical

tableToString (tab : Table) : String
  Render the table as a string

Parameters: tab the table

Returns: a text version of the table

Constructor:

new(w : Int, h : Int)

Parameters:

  • w the desired width of the table
  • h the desired height of the table

Variables:

height (accessor,null) : Int
width (accessor,null) : Int

Methods:

clear () : Void
clone () : Table
create () : Table
getCell (x : Int, y : Int) : Dynamic
getCellView () : View
getData () : Dynamic
getMeta () : Meta
getTable () : Table
get_height () : Int
get_width () : Int
insertOrDeleteColumns (fate : Array<Int>, wfate : Int) : Bool
insertOrDeleteRows (fate : Array<Int>, hfate : Int) : Bool
isResizable () : Bool
resize (w : Int, h : Int) : Bool
setCell (x : Int, y : Int, c : Dynamic) : Void
setMeta (meta : Meta) : Void
toString () : String
trimBlank () : Bool