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

[FXML] Allow method references to java.util.function.* classes (or generally, a SAM)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • None
    • javafx
    • None

    Description

      Any property that takes a SAM can be currently assigned only to a value of it's kind.
      We have a support for event handlers that can be assigned to a method reference, like <Button onAction="#myControllerMethod"/>

      This support can be extended to support SAM classes (or at least java.util.function.* classes).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              msladecek Martin Sládeček
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Imported: