-
Enhancement
-
Resolution: Fixed
-
P4
-
fx2.0.1, fx2.0.2, fx2.0.3, fx2.1
-
Windows 7 64bit, JDK 1.7.0_4 beta 64bit, JavaFX 2.1 beta15 64bit
Despite the fact that there is a setFullScreen(boolean) method in the Stage class, fullScreenProperty() returns a ReadOnlyBooleanProperty.
This makes binding a UI element to this property (ie: a ToggleButton which allows the user to set the app to fullscreen) cumbersome.
This property should return a BooleanProperty instead or the documentation should be expanded to explain why the returned property is read-only.
This makes binding a UI element to this property (ie: a ToggleButton which allows the user to set the app to fullscreen) cumbersome.
This property should return a BooleanProperty instead or the documentation should be expanded to explain why the returned property is read-only.
- relates to
-
JDK-8128358 Stage properties fullScreen and iconified must be non-bindable
- Closed
-
JDK-8101015 Non-bindable Window and Stage properties should extend from ReadOnlyProperty to enforce non-bindability
- Resolved