Grid
Date: 2019-10-22

org.jmol.awtjs.swing

## Class Grid

- java.lang.Object
- - org.jmol.awtjs.swing.Grid

-     public class Grid
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private Cell[][]` | `grid`
    `private int` | `ncols`
    `private int` | `nrows`
    `private java.lang.String` | `renderer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Grid(int rows, int cols)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(JComponent btn, GridBagConstraints c)`
    `java.lang.String` | `toHTML(java.lang.String id)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### nrows

          private int nrows

    - #### ncols

          private int ncols

    - #### grid

          private Cell[][] grid

    - #### renderer

          private java.lang.String renderer

  - ### Constructor Detail

    - #### Grid

          Grid(int rows,
               int cols)

  - ### Method Detail

    - #### add

          public void add(JComponent btn,
                          GridBagConstraints c)

    - #### toHTML

          public java.lang.String toHTML(java.lang.String id)