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

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

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      generic

      Description

      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.


        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: