< prev index next >

modules/javafx.graphics/src/main/java/javafx/stage/StageStyle.java

Print this page




  45      * Defines a {@code Stage} style with a transparent background and no decorations.
  46      * This is a conditional feature; to check if it is supported use
  47      * {@link javafx.application.Platform#isSupported(javafx.application.ConditionalFeature)}.
  48      * If the feature is not supported by the platform, this style downgrades
  49      * to {@code StageStyle.UNDECORATED}
  50      */
  51     TRANSPARENT,
  52 
  53     /**
  54      * Defines a {@code Stage} style with a solid white background and minimal
  55      * platform decorations used for a utility window.
  56      */
  57     UTILITY,
  58 
  59     /**
  60      * Defines a {@code Stage} style with platform decorations and eliminates the border between
  61      * client area and decorations. The client area background is unified with the decorations.
  62      * This is a conditional feature, to check if it is supported see
  63      * {@link javafx.application.Platform#isSupported(javafx.application.ConditionalFeature)}.
  64      * If the feature is not supported by the platform, this style downgrades to {@code StageStyle.DECORATED}
  65      * <p>                                                   `
  66      * NOTE: To see the effect the {@code Scene} covering the {@code Stage} should have {@code Color.TRANSPARENT}
  67      * @since JavaFX 8.0
  68      */
  69     UNIFIED
  70 }


  45      * Defines a {@code Stage} style with a transparent background and no decorations.
  46      * This is a conditional feature; to check if it is supported use
  47      * {@link javafx.application.Platform#isSupported(javafx.application.ConditionalFeature)}.
  48      * If the feature is not supported by the platform, this style downgrades
  49      * to {@code StageStyle.UNDECORATED}
  50      */
  51     TRANSPARENT,
  52 
  53     /**
  54      * Defines a {@code Stage} style with a solid white background and minimal
  55      * platform decorations used for a utility window.
  56      */
  57     UTILITY,
  58 
  59     /**
  60      * Defines a {@code Stage} style with platform decorations and eliminates the border between
  61      * client area and decorations. The client area background is unified with the decorations.
  62      * This is a conditional feature, to check if it is supported see
  63      * {@link javafx.application.Platform#isSupported(javafx.application.ConditionalFeature)}.
  64      * If the feature is not supported by the platform, this style downgrades to {@code StageStyle.DECORATED}
  65      * <p>
  66      * NOTE: To see the effect, the {@code Scene} covering the {@code Stage} should have {@code Color.TRANSPARENT}
  67      * @since JavaFX 8.0
  68      */
  69     UNIFIED
  70 }
< prev index next >