Defines configuration for one BeanTable. Configuration includes the
list of columns to be displayed and their characteristics.
| Attribute name (required) (unique) | Translator: | string |
| Unique name (identifier) of the table. |
| Attribute selection-mode | Translator: | enumeration,net.sourceforge.hivegui.table.SelectionMode,single=Single,interval=Interval,multiple=Multiple |
| Type of selection for this table (one of single, interval or multiple). |
| Attribute selection-event | Translator: | object |
| Event channel that will be used to dispatch the event that the
user changed the current selection. The event transmitted is the last
selected bean (possibly null). |
| Attribute popup | Translator: | object |
| A JPopupMenu instance to be activated on right-click (hint: use
the "menu:" ObjectProvider). |
| Attribute double-click-command | Translator: | object |
| An Action instance that will be activated when the user double-clicks
a row. |
| Attribute auto-select-new-row | Translator: | boolean |
| Indicates if newly added rows should be automatically selected. |
| Element <column> |
| One column to be displayed in the table. |
| Attribute editable | Translator: | boolean |
| Indicates if the column is editable or not. |
| Attribute label | Translator: | string |
| The label of the column. Optional, if missing, "property" will
be used instead. |
| Attribute max-width | Translator: | int |
| Attribute min-width | Translator: | int |
| Attribute preferred-width | Translator: | int |
| Attribute property (required) | Translator: | string |
| The name of the property of the bean to be displayed for that column. |
| Attribute renderer | Translator: | object |
| Specific TableCellRenderer instance for that column. |
| Attribute type | Translator: | class |
| Type of the column (String by default). |
| Conversion Rules |
|
<conversion class="net.sourceforge.hivegui.table.ColumnContribution"
parent-method="addColumn"
/>
|
<conversion class="net.sourceforge.hivegui.table.TableContribution"
/>