This implements an HTML <table> for organizing UI components into a tabular layout.
Parameters
none
Attributes
- cell(row:number,column:number,cellZUI:ZUI) – this can be called repeatedly to add cells to the table. row is the row in the table where the cell is to be added. Row numbers begin with zero. col is the column in the table where the cell is to be added. Column numbers begin with zero.
- clearCells() – this will remove all current cell entries so that new ones can be added.
Examples
new TableUI() .cell(0,0,new TextUI("cell 0,0") .cell(0,1,new TextUI("cell 0,1") .cell(1,1,new TextUI("cell 1,1") .cell(1,0,new TextUI("cell 1,0")
Styling
- TableUI – default styling class