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

Private fields in DefaultRowSorter

    XMLWordPrintable

Details

    Description

      A DESCRIPTION OF THE REQUEST :
      I would like to add the ability to move a row (or rows) up and down in the table without modifying the underlying data structure. This would be a simple task if I could extend from DefaultRowSorter and have access to the member variables. Unfortunately these variables are marked Private.

      JUSTIFICATION :
      Allows developers the ability to leverage existing Java code without having to reinvent the wheel.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      When I extend from DefaultRowSorter I would like to have access to its members and methods. Declaring these Protected would allow for a developer to extend from the class and use the existing code.
      ACTUAL -
      When I extend from DefaultRowSorter I do not have access to some of its members and methods because they are declared private.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: