Package groovy.swing.impl
Class TableLayoutRow
java.lang.Object
groovy.swing.impl.TableLayoutRow
Represents a single row in a
TableLayout.-
Constructor Summary
ConstructorsConstructorDescriptionTableLayoutRow(TableLayout tableLayoutTag) Creates a row for the supplied table layout. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCell(TableLayoutCell tag) Adds a new cell to this rowvoidMaterializes the row into the parent layout by assigning row coordinates to each cell.int
-
Constructor Details
-
TableLayoutRow
Creates a row for the supplied table layout.- Parameters:
tableLayoutTag- the owning table layout
-
-
Method Details
-
addCell
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
-