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

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

XMLWordPrintable

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

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

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

              Created:
              Updated:
              Imported: