< prev index next >
modules/graphics/src/main/java/javafx/scene/layout/TilePane.java
Print this page
@@ -83,21 +83,21 @@
* A horizontal tilepane example:
* <pre><code>
* TilePane tile = new TilePane();
* tile.setHgap(8);
* tile.setPrefColumns(4);
- * for (int i = 0; i < 20; i++) {
+ * for (int i = 0; i < 20; i++) {
* tile.getChildren().add(new ImageView(...));
* }
* </code></pre>
* <p>
* A vertical TilePane example:
* <pre><code>
* TilePane tile = new TilePane(Orientation.VERTICAL);
* tile.setTileAlignment(Pos.CENTER_LEFT);
* tile.setPrefRows(10);
- * for (int i = 0; i < 50; i++) {
+ * for (int i = 0; i < 50; i++) {
* tile.getChildren().add(new ImageView(...));
* }
* </code></pre>
*
* The TilePane will attempt to resize each child to fill its tile.
@@ -167,11 +167,11 @@
* </table>
* <p>
* Example:
* <pre><code>
* TilePane tilepane = new TilePane();
- * for (int i = 0; i < 20; i++) {
+ * for (int i = 0; i < 20; i++) {
* Label title = new Label(imageTitle[i]):
* Imageview imageview = new ImageView(new Image(imageName[i]));
* TilePane.setAlignment(label, Pos.BOTTOM_RIGHT);
* tilepane.getChildren().addAll(title, imageview);
* }
@@ -254,11 +254,11 @@
}
/**
* Creates a TilePane layout with the specified orientation,
* prefColumn/prefRows = 5 and hgap/vgap = 0.
- * @param orientation the direction the tiles should flow & wrap
+ * @param orientation the direction the tiles should flow & wrap
*/
public TilePane(Orientation orientation) {
super();
setOrientation(orientation);
}
@@ -276,11 +276,11 @@
}
/**
* Creates a TilePane layout with the specified orientation, hgap/vgap,
* and prefRows/prefColumns = 5.
- * @param orientation the direction the tiles should flow & wrap
+ * @param orientation the direction the tiles should flow & wrap
* @param hgap the amount of horizontal space between each tile
* @param vgap the amount of vertical space between each tile
*/
public TilePane(Orientation orientation, double hgap, double vgap) {
this();
@@ -300,11 +300,11 @@
}
/**
* Creates a TilePane layout with the specified orientation,
* prefColumn/prefRows = 5 and hgap/vgap = 0.
- * @param orientation the direction the tiles should flow & wrap
+ * @param orientation the direction the tiles should flow & wrap
* @param children The initial set of children for this pane.
* @since JavaFX 8.0
*/
public TilePane(Orientation orientation, Node... children) {
super();
@@ -328,11 +328,11 @@
}
/**
* Creates a TilePane layout with the specified orientation, hgap/vgap,
* and prefRows/prefColumns = 5.
- * @param orientation the direction the tiles should flow & wrap
+ * @param orientation the direction the tiles should flow & wrap
* @param hgap the amount of horizontal space between each tile
* @param vgap the amount of vertical space between each tile
* @param children The initial set of children for this pane.
* @since JavaFX 8.0
*/
< prev index next >