| Constructor and description |
|---|
JTableMetaMethods() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
enhanceMetaClass(Object table)Enhances the table with synthetic element and selection accessors. |
|
static Object |
getElement(JTable table, int row)Returns the logical row object for the supplied table row. |
Enhances the table with synthetic element and selection accessors.
table - the table to enhanceReturns the logical row object for the supplied table row.
Default Swing table models are exposed as identifier-to-value maps, while Groovy's table model returns the backing row object.
table - the table supplying the model datarow - the selected row indexnull when no row is selectedCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.