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

Support collection events in FXML

XMLWordPrintable

      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"/>

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

              Created:
              Updated:
              Resolved:
              Imported: