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

FXMLLoader documentation has mistakes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • docs

      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 ">".

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

              Created:
              Updated:
              Resolved:
              Imported: