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

Pagination error on CSS Reference guide

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 8
    • javafx
    • JavaFX 8_40, JDK 8_40 64bit, Windows 4 64bit, NetBeans 8.0.2

    Description

      There is a documentation error on the CSS reference guide available at https://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html#pagination

      The inner structure of the control is described as:

          page — StackPane
          pagination-control — StackPane
              leftArrowButton — Button
                  leftArrow — StackPane
              rightArrowButton — Button
                  rightArrow — StackPane
              bullet-button — ToggleButton
              number-button — ToogleButton
              page-information — Label

      But there is no such things as leftArrowButton, leftArrow, rightArrowButton and rightArrow when exploring the control with SceneBuilder or Scenic view. And it does not match the usual spelling in use in JavaFX's CSS naming scheme for style classes.

      It should be instead left-arrow-button, left-arrow, right-arrow-button and right-arrow which are the values currently in use in the code:

          page — StackPane
          pagination-control — StackPane
              left-arrow-button — Button
                  left-arrow — StackPane
              right-arrow-button — Button
                  right-arrow — StackPane
              bullet-button — ToggleButton
              number-button — ToogleButton
              page-information — Label

      Attachments

        Activity

          People

            Unassigned Unassigned
            fbouyajfx Fabrice Bouyé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Imported: