@@ -37,6 +37,7 @@ function table(p5, fn){
37
37
* scratch, dynamically, or using data from an existing file.
38
38
*
39
39
* @class p5.Table
40
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
40
41
* @param {p5.TableRow[] } [rows] An array of p5.TableRow objects
41
42
*/
42
43
p5 . Table = class Table {
@@ -66,6 +67,7 @@ function table(p5, fn){
66
67
* If a <a href="#/p5.TableRow">p5.TableRow</a> object is included as a parameter, then that row is
67
68
* duplicated and added to the table.
68
69
*
70
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
69
71
* @param {p5.TableRow } [row] row to be added to the table
70
72
* @return {p5.TableRow } the row that was added
71
73
*
@@ -119,6 +121,7 @@ function table(p5, fn){
119
121
/**
120
122
* Removes a row from the table object.
121
123
*
124
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
122
125
* @param {Integer } id ID number of the row to remove
123
126
*
124
127
* @example
@@ -163,6 +166,7 @@ function table(p5, fn){
163
166
* Returns a reference to the specified <a href="#/p5.TableRow">p5.TableRow</a>. The reference
164
167
* can then be used to get and set values of the selected row.
165
168
*
169
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
166
170
* @param {Integer } rowID ID number of the row to get
167
171
* @return {p5.TableRow } <a href="#/p5.TableRow">p5.TableRow</a> object
168
172
*
@@ -203,6 +207,7 @@ function table(p5, fn){
203
207
/**
204
208
* Gets all rows from the table. Returns an array of <a href="#/p5.TableRow">p5.TableRow</a>s.
205
209
*
210
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
206
211
* @return {p5.TableRow[] } Array of <a href="#/p5.TableRow">p5.TableRow</a>s
207
212
*
208
213
* @example
@@ -251,6 +256,7 @@ function table(p5, fn){
251
256
* row is returned. The column to search may be specified by
252
257
* either its ID or title.
253
258
*
259
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
254
260
* @param {String } value The value to match
255
261
* @param {Integer|String } column ID number or title of the
256
262
* column to search
@@ -310,6 +316,7 @@ function table(p5, fn){
310
316
* as shown in the example above. The column to search may be
311
317
* specified by either its ID or title.
312
318
*
319
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
313
320
* @param {String } value The value to match
314
321
* @param {Integer|String } column ID number or title of the
315
322
* column to search
@@ -373,6 +380,7 @@ function table(p5, fn){
373
380
* matching row is returned. The column to search may be
374
381
* specified by either its ID or title.
375
382
*
383
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
376
384
* @param {String|RegExp } regexp The regular expression to match
377
385
* @param {String|Integer } column The column ID (number) or
378
386
* title (string)
@@ -427,6 +435,7 @@ function table(p5, fn){
427
435
* used to iterate through all the rows, as shown in the example. The
428
436
* column to search may be specified by either its ID or title.
429
437
*
438
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
430
439
* @param {String } regexp The regular expression to match
431
440
* @param {String|Integer } [column] The column ID (number) or
432
441
* title (string)
@@ -491,6 +500,7 @@ function table(p5, fn){
491
500
* Retrieves all values in the specified column, and returns them
492
501
* as an array. The column may be specified by either its ID or title.
493
502
*
503
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
494
504
* @param {String|Number } column String or Number of the column to return
495
505
* @return {Array } Array of column values
496
506
*
@@ -538,6 +548,8 @@ function table(p5, fn){
538
548
* Removes all rows from a Table. While all rows are removed,
539
549
* columns and column titles are maintained.
540
550
*
551
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
552
+ *
541
553
* @example
542
554
* <div class="norender">
543
555
* <code>
@@ -575,6 +587,7 @@ function table(p5, fn){
575
587
* may be easily referenced later by name. (If no title is
576
588
* specified, the new column's title will be null.)
577
589
*
590
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
578
591
* @param {String } [title] title of the given column
579
592
*
580
593
* @example
@@ -618,6 +631,7 @@ function table(p5, fn){
618
631
/**
619
632
* Returns the total number of columns in a Table.
620
633
*
634
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
621
635
* @return {Integer } Number of columns in this table
622
636
* @example
623
637
* <div>
@@ -651,6 +665,7 @@ function table(p5, fn){
651
665
/**
652
666
* Returns the total number of rows in a Table.
653
667
*
668
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
654
669
* @return {Integer } Number of rows in this table
655
670
* @example
656
671
* <div>
@@ -688,6 +703,7 @@ function table(p5, fn){
688
703
* rows are processed. A specific column may be referenced by
689
704
* either its ID or title.
690
705
*
706
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
691
707
* @param {String } chars String listing characters to be removed
692
708
* @param {String|Integer } [column] Column ID (number)
693
709
* or name (string)
@@ -758,6 +774,7 @@ function table(p5, fn){
758
774
* values in all columns and rows are trimmed. A specific column
759
775
* may be referenced by either its ID or title.
760
776
*
777
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
761
778
* @param {String|Integer } [column] Column ID (number)
762
779
* or name (string)
763
780
* @example
@@ -822,6 +839,7 @@ function table(p5, fn){
822
839
* removeColumn(0) would remove the first column, removeColumn(1)
823
840
* would remove the second column, and so on.
824
841
*
842
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
825
843
* @param {String|Integer } column columnName (string) or ID (number)
826
844
*
827
845
* @example
@@ -879,6 +897,7 @@ function table(p5, fn){
879
897
* The row is specified by its ID, while the column may be specified
880
898
* by either its ID or title.
881
899
*
900
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
882
901
* @param {Integer } row row ID
883
902
* @param {String|Integer } column column ID (Number)
884
903
* or title (String)
@@ -924,6 +943,7 @@ function table(p5, fn){
924
943
* The row is specified by its ID, while the column may be specified
925
944
* by either its ID or title.
926
945
*
946
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
927
947
* @param {Integer } row row ID
928
948
* @param {String|Integer } column column ID (Number)
929
949
* or title (String)
@@ -966,6 +986,7 @@ function table(p5, fn){
966
986
* The row is specified by its ID, while the column may be specified
967
987
* by either its ID or title.
968
988
*
989
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
969
990
* @param {Integer } row row ID
970
991
* @param {String|Integer } column column ID (Number)
971
992
* or title (String)
@@ -1007,6 +1028,7 @@ function table(p5, fn){
1007
1028
* The row is specified by its ID, while the column may be specified by
1008
1029
* either its ID or title.
1009
1030
*
1031
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1010
1032
* @param {Integer } row row ID
1011
1033
* @param {String|Integer } column columnName (string) or
1012
1034
* ID (number)
@@ -1048,6 +1070,7 @@ function table(p5, fn){
1048
1070
* The row is specified by its ID, while the column may be specified by
1049
1071
* either its ID or title.
1050
1072
*
1073
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1051
1074
* @param {Integer } row row ID
1052
1075
* @param {String|Integer } column columnName (string) or
1053
1076
* ID (number)
@@ -1087,6 +1110,7 @@ function table(p5, fn){
1087
1110
* The row is specified by its ID, while the column may be specified by
1088
1111
* either its ID or title.
1089
1112
*
1113
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1090
1114
* @param {Integer } row row ID
1091
1115
* @param {String|Integer } column columnName (string) or
1092
1116
* ID (number)
@@ -1133,6 +1157,7 @@ function table(p5, fn){
1133
1157
* passed in, each row object will be stored with that attribute as its
1134
1158
* title.
1135
1159
*
1160
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1136
1161
* @param {String } [headerColumn] Name of the column which should be used to
1137
1162
* title each row object (optional)
1138
1163
* @return {Object }
@@ -1190,6 +1215,7 @@ function table(p5, fn){
1190
1215
/**
1191
1216
* Retrieves all table data and returns it as a multidimensional array.
1192
1217
*
1218
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1193
1219
* @return {Array }
1194
1220
*
1195
1221
* @example
@@ -1231,6 +1257,7 @@ function table(p5, fn){
1231
1257
/**
1232
1258
* An array containing the names of the columns in the table, if the "header" the table is
1233
1259
* loaded with the "header" parameter.
1260
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1234
1261
* @type {String[] }
1235
1262
* @property columns
1236
1263
* @for p5.Table
@@ -1267,6 +1294,7 @@ function table(p5, fn){
1267
1294
* rows of the table. The same result as calling <a href="/reference/p5.Table/getRows/">getRows()</a>
1268
1295
* @type {p5.TableRow[] }
1269
1296
* @property rows
1297
+ * @deprecated p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
1270
1298
* @for p5.Table
1271
1299
* @name rows
1272
1300
*/
0 commit comments