Page tree

The cells in the multi-cell molecule table mode of MarvinView can be divided further and they can have they own layout, which however is uniform for all cells in the table. The parameters described here are used to define the structure of such a cell.
Example of using molecule tables: MarvinView Table View Example.
A utility class is also available to generate parameter values: MViewParams

rowsNumber of "molecule rows", including the optional header row.
colsNumber of "molecule columns".
visibleRowsNumber of visible rows. The table is scrollable if less than rows. Default value: visibleRows = rows.
visibleColsNumber of visible columns. The table is scrollable if less than cols. Default value: visibleCols = cols.
layoutLayout of molecule, label, button and checkbox components in a cell.
layoutHLayout for the header row.
paramParameters of the components.
paramHParameters for the header row.
cell0
cell1
cell2
...
Contents of the cells.
Use these instead of the mol parameter.
borderBorder width in pixels. Default: 0 (no border between cells).
Increases the total applet WIDTH by border*(cols-1), and the HEIGHT by border*(rows-1).