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

TableView.getColumns() list should fire permutation events on reorder

    • x86_64
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      C:\Users\hwaite>ver

      Microsoft Windows [Version 10.0.16299.547]

      C:\Users\hwaite>"%JAVA_HOME%"\bin\java -version
      java version "1.8.0_181"
      Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      When TableView columns are dragged to new index, TableView.getColumns() ObservableList fires a ListChangeListener.Change that contains an 'add' and 'remove' sub-event. It would make more sense to include a single 'permutation' sub-event. Logically speaking, user is moving a column, not deleting one and adding a new one.


            aghaisas Ajit Ghaisas
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: