changeset 1395:5b9ab0325414

[DOC ONLY] RT-21293: Typos in the API docs.
author Kinsley Wong
date Mon, 02 Jul 2012 12:03:39 -0700
parents 3e1c680c584d
children dffc6988a9ab
files javafx-ui-common/src/javafx/scene/layout/HBox.java javafx-ui-common/src/javafx/scene/layout/TilePane.java
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/javafx/scene/layout/HBox.java	Mon Jul 02 12:02:25 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/layout/HBox.java	Mon Jul 02 12:03:39 2012 -0700
@@ -60,7 +60,7 @@
  * fillHeight property to determine whether to resize their heights to
  * fill its own height or keep their heights to their preferred (fillHeight defaults to true).
  * The alignment of the content is controlled by the alignment property,
- * which defaulst to Pos.TOP_LEFT.
+ * which defaults to Pos.TOP_LEFT.
  * <p>
  * If an hbox is resized larger than its preferred width, by default it will keep
  * children to their preferred widths, leaving the extra space unused.  If an
--- a/javafx-ui-common/src/javafx/scene/layout/TilePane.java	Mon Jul 02 12:02:25 2012 -0700
+++ b/javafx-ui-common/src/javafx/scene/layout/TilePane.java	Mon Jul 02 12:03:39 2012 -0700
@@ -163,9 +163,10 @@
  * <pre><code>
  *     TilePane tilepane = new TilePane();
  *     for (int i = 0; i < 20; i++) {
- *        Label label = new Label(imageTitle[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[i]);
+ *        tilepane.getChildren().addAll(title, imageview);
  *     }
  * </code></pre>
  */