javafx.collections (JavaFX 19)
Description: declaration: module: javafx.base, package: javafx.collections

Module javafx.base

# Package javafx.collections

package javafx.collections

Contains the essential JavaFX collections and collection utilities

- Related Packages
  Package
  Description
  javafx.collections.transformation
  Provides JavaFX collections that wrap and transform (for example, sort or filter) other JavaFX collections.
- Class
  Description
  ArrayChangeListener<T extends ObservableArray<T>>
  Interface that receives notifications of changes to an ObservableArray.
  FXCollections
  Utility class that consists of static methods that are 1:1 copies of java.util.Collections methods.
  ListChangeListener<E>
  Interface that receives notifications of changes to an ObservableList.
  ListChangeListener.Change<E>
  Represents a report of changes done to an `ObservableList`.
  MapChangeListener<K,V>
  Interface that receives notifications of changes to an ObservableMap.
  MapChangeListener.Change<K,V>
  An elementary change done to an ObservableMap.
  ModifiableObservableListBase<E>
  Abstract class that serves as a base class for `ObservableList` implementations that are modifiable.
  ObservableArray<T extends ObservableArray<T>>
  `ObservableArray` is an array that allows listeners to track changes when they occur.
  ObservableArrayBase<T extends ObservableArray<T>>
  Abstract class that serves as a base class for `ObservableArray` implementations.
  ObservableFloatArray
  `ObservableFloatArray` is a `float[]` array that allows listeners to track changes when they occur.
  ObservableIntegerArray
  `ObservableIntegerArray` is an `int[]` array that allows listeners to track changes when they occur.
  ObservableList<E>
  A list that allows listeners to track changes when they occur.
  ObservableListBase<E>
  Abstract class that serves as a base class for `ObservableList` implementations.
  ObservableMap<K,V>
  A map that allows observers to track changes when they occur.
  ObservableSet<E>
  A set that allows observers to track changes when they occur.
  SetChangeListener<E>
  Interface that receives notifications of changes to an ObservableSet.
  SetChangeListener.Change<E>
  An elementary change done to an ObservableSet.
  WeakListChangeListener<E>
  A `WeakListChangeListener` can be used, if an `ObservableList` should only maintain a weak reference to the listener.
  WeakMapChangeListener<K,V>
  A `WeakMapChangeListener` can be used, if an `ObservableMap` should only maintain a weak reference to the listener.
  WeakSetChangeListener<E>
  A `WeakSetChangeListener` can be used, if an `ObservableSet` should only maintain a weak reference to the listener.