Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8115381

Bugs, typos and inconsistencies in the API docs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:

      Description

      The user reports the following typos, bugs, and inconsistencies in the API documentation:
      1. Select the javafx.scene.layout package and the FlowPane class in the left-hand Classes panel.
      2. Click the Next Class link
      3. You will see the the private static classes such as FlowPane.LayoutRect, FlowPane.Run, and FlowPane.StyleableProperties instead of the next class from the current package shown in the Classes panel.

      A typo in the HBox class description: defaults instead of defaults in the sentence: The alignment of the content is controlled by the alignment property, which defaulst to Pos.TOP_LEFT.

      Class TilePane - the user complaints the last example is incorrect - it's not clear where from the title and imageView args are obtained:

      TilePane tilepane = new TilePane();
           for (int i = 0; i < 20; i++) {
              Label label = new Label(imageTitle[i]):
              TilePane.setAlignment(label, Pos.BOTTOM_RIGHT);
              tilepane.getChildren().addAll(title, imageview[i]);
           }

        Attachments

          Activity

            People

            • Assignee:
              kwwong Kinsley Wong
              Reporter:
              ifedortsova Irina Fedortsova (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: