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

Node.disable API documentation is misleading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: fx1.2
    • Component/s: javafx
    • Labels:

      Description

      Node.disable API documentation says that disabling a node would disable any inputs to the node and node will not respond to user interactions. But in the same documentation, the last paragraph says that the events would still be delivered to the disabled node. This is confusing. How could the node be non-responsive to user inputs if the events are still delivered to the node?

      This also not matching with the implementation. Currently disabling a node makes the node non-focusable and hence no key events are delivered to the node.

      I am referring to the API documentation of JavaFX SDK b41.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              idk Igor Kushnirskiy (Inactive)
              Reporter:
              pmohan Praveen Mohan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: