Fix mistakes in FX API docs

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx25
    • Component/s: javafx

      1. Type in TreeView class docs

      > TreeView allows for it's cells to contain elements of any type

      `it's` --> `its` (no apostrophe)


      2. The `ScrollPane` class docs refers to `Resizable` as if it were a class name. It isn't (it may be a holdover from the JavaFX script days).

      I received this report from [~jjg] Jon GIbbons. His suggestion at the end seems like a good one.

      In the properties and related methods for `ScrollPane`, you can find references like this:
      > If true and if the contained node is a Resizable,
      and other instances of
      > a Resizable

      The first thing that stands out is that `Resizable` appears to be the name of a class or interface, but is not linked to anything. Digging a bit deeper, I cannot find any publicly documented item called `Resizable`, but I do see methods like `Node.isResizable` and its overloads.

      I wonder is `Resizable` is either an undocumented private interface, or a remnant of an older implementation.

      In either case, using `Resizable` as a noun seems wrong. Maybe it should be all lower case and linked to `Node.isResizable`.

            Assignee:
            Nir Lisker
            Reporter:
            Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: