A DESCRIPTION OF THE PROBLEM :
Implementing a custom control often requires reordering the items in a backing list to support drag-and-drop functionality. For instance, JavaFX utilizes the TabObservableList to reorder tabs without removing and adding them back. However, users are currently unable to replicate same (permutation) behavior because the necessary classes, starting with com.sun.javafx.collections.ObservableListWrapper, are private.
Even the SortableList interface is private, which means that implementing custom sortable lists to use with FXCollections.sort() are not available to users.
Please, provide an implementation of ReorderableObservableList#reorder(fromIndex, toIndex) or move ObservableListWrapper, along with its dependencies, to the public API. The latter would enable users to implement custom list operations, such as reordering.
Implementing a custom control often requires reordering the items in a backing list to support drag-and-drop functionality. For instance, JavaFX utilizes the TabObservableList to reorder tabs without removing and adding them back. However, users are currently unable to replicate same (permutation) behavior because the necessary classes, starting with com.sun.javafx.collections.ObservableListWrapper, are private.
Even the SortableList interface is private, which means that implementing custom sortable lists to use with FXCollections.sort() are not available to users.
Please, provide an implementation of ReorderableObservableList#reorder(fromIndex, toIndex) or move ObservableListWrapper, along with its dependencies, to the public API. The latter would enable users to implement custom list operations, such as reordering.