-
Enhancement
-
Resolution: Fixed
-
P2
-
fx2.0
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.
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.
- blocks
-
JDK-8100836 the ChangeListener is not generic and thus a cast is required in the event method
- Resolved
- is blocked by
-
JDK-8100799 Allow observable collection as dependency
- Resolved