Top Description Fields Constructors Methods
javafx.stage

public final Enum StageStyle

extends Enum<StageStyle>
Class Inheritance

This enum defines the possible styles for a Stage.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final StageStyle
DECORATED

Defines a normal Stage style with a solid white background and platform decorations.

public static final StageStyle
TRANSPARENT

Defines a Stage style with a transparent background and no decorations.

public static final StageStyle
UNDECORATED

Defines a Stage style with a solid white background and no decorations.

public static final StageStyle
UNIFIED

Defines a Stage style with platform decorations and eliminates the border between client area and decorations.

public static final StageStyle
UTILITY

Defines a Stage style with a solid white background and minimal platform decorations used for a utility window.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static StageStyle
public static StageStyle[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DECORATEDback to summary
public static final StageStyle DECORATED

Defines a normal Stage style with a solid white background and platform decorations.

TRANSPARENTback to summary
public static final StageStyle TRANSPARENT

Defines a Stage style with a transparent background and no decorations. This is a conditional feature; to check if it is supported use javafx.application.Platform#isSupported(javafx.application.ConditionalFeature). If the feature is not supported by the platform, this style downgrades to StageStyle.UNDECORATED

UNDECORATEDback to summary
public static final StageStyle UNDECORATED

Defines a Stage style with a solid white background and no decorations.

UNIFIEDback to summary
public static final StageStyle UNIFIED

Defines a Stage style with platform decorations and eliminates the border between client area and decorations. The client area background is unified with the decorations. This is a conditional feature, to check if it is supported see javafx.application.Platform#isSupported(javafx.application.ConditionalFeature). If the feature is not supported by the platform, this style downgrades to StageStyle.DECORATED

Note

To see the effect, the Scene covering the Stage should have Color.TRANSPARENT

Since
JavaFX 8.0
UTILITYback to summary
public static final StageStyle UTILITY

Defines a Stage style with a solid white background and minimal platform decorations used for a utility window.

Constructor Detail

StageStyleback to summary
private StageStyle()

Method Detail

valueOfback to summary
public static StageStyle valueOf(String name)
valuesback to summary
public static StageStyle[] values()