This reference is for Processing 3.0+. If you have a previous version, use the reference included with your software in the Help menu. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.
Class | |||
---|---|---|---|
Name | getColumnTitle() |
||
Examples | Table table; void setup() { table = new Table(); table.addColumn("number", Table.INT); table.addColumn("mass", Table.FLOAT); table.addColumn("name", Table.STRING); TableRow row = table.addRow(); println(row.getColumnTitle(0)); // Prints "number" println(row.getColumnTitle(1)); // Prints "mass" println(row.getColumnTitle(2)); // Prints "name" } | ||
Description | Returns the name for a column in a TableRow based on its ID (e.g. 0, 1, 2, etc.) | ||
Syntax | .getColumnTitle(column) | ||
Parameters |
| ||
Returns | String |
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.