Package: groovy.swing.binding

## [Groovy] Class JTableMetaMethods

- groovy.swing.binding.JTableMetaMethods

-     class JTableMetaMethods
      extends Object

  Adds synthetic convenience properties used by Swing binding code for JTable.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `JTableMetaMethods()`

  - ### Methods Summary

    Methods
    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.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JTableMetaMethods()

  - ### Method Detail

    - #### static void enhanceMetaClass(Object table)

      Enhances the table with synthetic element and selection accessors.

      Parameters:
        `table` - the table to enhance

    - #### static Object getElement(JTable table, int row)

      Returns 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.

      Parameters:
        `table` - the table supplying the model data
        `row` - the selected row index
      Returns:
        the row value, or `null` when no row is selected