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

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None
    • Subcomponent:

      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

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

                Dates

                Created:
                Updated:
                Imported: