Class TableLayoutRow

java.lang.Object
groovy.swing.impl.TableLayoutRow

public class TableLayoutRow extends Object
Represents a single row in a TableLayout.
  • Constructor Details

    • TableLayoutRow

      public TableLayoutRow(TableLayout tableLayoutTag)
      Creates a row for the supplied table layout.
      Parameters:
      tableLayoutTag - the owning table layout
  • Method Details

    • addCell

      public void addCell(TableLayoutCell tag)
      Adds a new cell to this row
      Parameters:
      tag - the td element
    • addComponentsForRow

      public void addComponentsForRow()
      Materializes the row into the parent layout by assigning row coordinates to each cell.
    • getRowIndex

      public int getRowIndex()
      Returns:
      the row index of this row