< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java
Print this page
@@ -134,11 +134,11 @@
*
* <h3>Row/Column Sizing</h3>
*
* By default, rows and columns will be sized to fit their content;
* a column will be wide enough to accommodate the widest child, a
- * row tall enough to fit the tallest child.However, if an application needs
+ * row tall enough to fit the tallest child. However, if an application needs
* to explicitly control the size of rows or columns, it may do so by adding
* RowConstraints and ColumnConstraints objects to specify those metrics.
* For example, to create a grid with two fixed-width columns:
* <pre><code>
* GridPane gridpane = new GridPane();
@@ -960,11 +960,11 @@
* @return the list of column constraints
*/
public final ObservableList<ColumnConstraints> getColumnConstraints() { return columnConstraints; }
/**
- * Adds a child to the gridpane at the specified column,row position.
+ * Adds a child to the gridpane at the specified column and row position.
* This convenience method will set the gridpane column and row constraints
* on the child.
* @param child the node being added to the gridpane
* @param columnIndex the column index position for the child within the gridpane, counting from 0
* @param rowIndex the row index position for the child within the gridpane, counting from 0
@@ -973,11 +973,11 @@
setConstraints(child, columnIndex, rowIndex);
getChildren().add(child);
}
/**
- * Adds a child to the gridpane at the specified column,row position and spans.
+ * Adds a child to the gridpane at the specified column and row position and spans.
* This convenience method will set the gridpane column, row, and span constraints
* on the child.
* @param child the node being added to the gridpane
* @param columnIndex the column index position for the child within the gridpane, counting from 0
* @param rowIndex the row index position for the child within the gridpane, counting from 0
< prev index next >