Despite the fact that there is a setIconified(boolean) method in the Stage class, iconifiedProperty() returns a ReadOnlyBooleanProperty.
This makes binding a UI element to this property (ie: a ToggleButton when creating an undecorated window) 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 when creating an undecorated window) 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
-