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

Stage: iconified property is read-only

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0.1, fx2.0.2, fx2.0.3, fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      Windows 7 64bit, JDK 1.7.0_4 beta 64bit, JavaFX 2.1 beta15 64bit

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psafrata Pavel Šafrata
                Reporter:
                fbouyajfx Fabrice Bouyé (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: