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

Support collection events in FXML

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 8
    • 8
    • javafx

    Description

      Currently, developers can declaratively attach listeners for user interface and property change events in FXML. However, collection events are not yet supported. A caller should be able to attach a listener to a List or a Map as follows:

      <FXCollections fx:factory="observableArrayList" onChange="handleListChangeEvent(event)"/>
      <FXCollections fx:factory="observableArrayList" onChange="#handleListChangeEvent"/>

      <FXCollections fx:factory="observableHashMap" onChange="handleMapChangeEvent(event)"/>
      <FXCollections fx:factory="observableHashMap" onChange="#handleMapChangeEvent"/>

      Attachments

        Issue Links

          Activity

            People

              msladecek Martin Sládeček
              gkbrown Greg Brown (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: