class TableItem extends Item
Add table to a cartographic document
Type | Name and description |
---|---|
TableItem.RowStyle |
columnRowStyle |
java.util.List<java.lang.String> |
columns |
TableItem.RowStyle |
evenRowStyle |
TableItem.RowStyle |
oddRowStyle |
java.util.List<java.util.Map> |
rows |
Constructor and description |
---|
TableItem
(int x, int y, int width, int height) Create table from the top left with the given width and height. |
Methods inherited from class | Name |
---|---|
class Item |
getRectangle |
Create table from the top left with the given width and height.
x
- The number of pixels from the lefty
- The number of pixels from the topwidth
- The width in pixelsheight
- The height in pixelsAdd a column to the table
name
- The column nameSet the columns of the table
names
- The column namesAdd a row to the table
values
- A Map of valuesGroovy Documentation