The `clear()` method in JavaFX's `ObservableList` interface is used to remove all elements from the list. After calling `clear()`, the list becomes empty with zero elements. Any registered listeners will be notified of the change in the list.
Java ObservableList.clear - 30 examples found. These are the top rated real world Java examples of javafx.collections.ObservableList.clear extracted from open source projects. You can rate examples to help us improve the quality of examples.