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

FXCollections should provide a factory method for creating observable hash maps

XMLWordPrintable

      FXCollections currently defines a factory method for creating observable array lists (FXCollections#observableArrayList()) but does not define a similar method for hash maps. As a result, it is not currently possible to create an observable hash map in FXML, which uses the following syntax for invoking no-arg factory methods:

      <FXCollections fx:factory="observableArrayList"/>

      Ideally, we should also be able to write:

      <FXCollections fx:factory="observableHashMap"/>

      to create an observable HashMap.

            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: