Details
Description
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.
Attachments
Issue Links
- 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
-