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

Reorganize Property hierarchy

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Subcomponent:

      Description

      The super class of all concrete properties should be as abstract as possible to allow nearly-stateless implementations later.

      This means for example:
      DoubleProperty will be a new abstract class with no fields at all.
      The current class DoubleProperty will be renamed to SimpleDoubleProperty.

      As a side effect, all Expressions (e.g. DoubleExpression) do not extend from ObservableValueBase. Instead we will provide a class that allows to delegate the observable functionality to it and attach that to SimpleDoubleProperty, DoublePropertyBase, and DoubleBinding.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mheinrichs Michael Heinrichs (Inactive)
              Reporter:
              mheinrichs Michael Heinrichs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: