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

ListView: incorrect javadoc of setOnEditXX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 9
    • javafx
    • java9-ea-180

      f.i. http://download.java.net/java/jdk9/jfxdocs/javafx/scene/control/ListView.html#setOnEditStart-javafx.event.EventHandler-

      "This is a convenience method - the same result can be achieved by calling addEventHandler(ListView.EDIT_START_EVENT, eventHandler)"

      contains 2 errors:

      1. it's equivalent to setEventHandler(...)
      2. EDIT_START_EVENT is private, should be ListView.editStartEvent() - this is wrong in the class javadoc as well

      going through the javadoc of the other virtualized controls might reveal similar errors ..

            Unassigned Unassigned
            fastegal Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: