BasicTable class

This class represents a table for displaying row/column data. A table cell may contain html text, a clickable button or a text entry field.

Constructors

BasicTable(List<List<String>> tableData, TableButtonClickListener buttonClickListener)
Creates the html TableElement table from tableData with tableData.length rows and 0.length columns (i.e. the same number of cols for all rows). Rows 1 until tableData.length - 1 are used for table display. Row 1 is displayed in a special style to serve as a table header. Row 0 is a special row which is not displayed, but may contain data provide by the user for any purpose. buttonClickListener is called if a table cell contains a button element and the button is clicked. by default, A table cell i,k will display its text contents. In addition, the following cases are supported. [...]

Properties

attr ↔ Map<String, String>
read / write
getTable → TableElement
Returns the html TableElement created by the constructor.
read-only
table ↔ TableElement
read / write
tableData ↔ List<List<String>>
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Properties

BUTTON → String
A button with text contents and action code, e.g. "BUTTON||Apply||dothis"
final
EMPTY_INPUT_CELL → String
An input cell without initial value
final
EMPTY_TEXT_AREA → String
A text area without initial value
final