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

FXMLLoader documentation has mistakes

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: docs

      Description

      Current FXMLLoader documentation should be corrected:
      getController():
      "Sets the controller associated with the root object. The value passed to this method is used as the value of the fx:controller attribute. This method must be called prior to loading the document when using controller event handlers when an fx:controller attribute is not specified in the document."

      These words belong to setController(java.lang.Object controller) not to this one. getController's doc was mistakenly updated instead of setController's.

      setRoot()'s docs contain wrong escape characters "%gt;". Should be ">".

        Attachments

          Activity

            People

            • Assignee:
              gkbrown Greg Brown (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: