From b174035021f0500c8f97f9422d9f2d5f3f9e8770 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 13 Mar 2013 14:21:54 -0700 Subject: [PATCH] =?UTF-8?q?Added=20addColum()=20to=20reference=E2=80=A6=20?= =?UTF-8?q?hopefully?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/processing/data/Table.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java index 7b7166969..9cbfc7a6c 100644 --- a/core/src/processing/data/Table.java +++ b/core/src/processing/data/Table.java @@ -990,16 +990,26 @@ public class Table { // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + /** + * @webref table:method + * @brief Adds a new column to the table + */ public void addColumn() { addColumn(null, STRING); } + /** + * @param title the title to be used for the new column + */ public void addColumn(String title) { addColumn(title, STRING); } + /** + * @param type the type to be used for the new column: INT, LONG, FLOAT, DOUBLE, STRING, or CATEGORICAL + */ public void addColumn(String title, int type) { insertColumn(columns.length, title, type); }