Stage.
| Modifier and Type | Field and Description |
|---|---|
| public static final StageStyle | DECORATED
Defines a normal |
| public static final StageStyle | EXTENDED
Defines a |
| public static final StageStyle | TRANSPARENT
Defines a |
| public static final StageStyle | UNDECORATED
Defines a |
| public static final StageStyle | UNIFIED
Defines a |
| public static final StageStyle | UTILITY
Defines a lightweight |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StageStyle | |
| public static StageStyle[] |
| DECORATED | back to summary |
|---|---|
| public static final StageStyle DECORATED Defines a normal | |
| EXTENDED | back to summary |
|---|---|
| public static final StageStyle EXTENDED Defines a
This is a conditional feature, to check if it is supported see UsageAn extended window has the default header buttons (iconify, maximize, close), but no system-provided draggable header bar. Applications need to provide their own header bar by placing aHeaderBar
control in the scene graph. The HeaderBar control should be positioned at the top of the window
and its width should extend the entire width of the window, as otherwise the layout of the default window
buttons and the header bar content might not be aligned correctly. Usually, HeaderBar is combined
with a BorderPane root container:
Title text and application iconIn an extended stage, the platform does not provide title text or an application icon in the header bar area. Applications that require either or both need to provide their own implementation, for example by placing aLabel or a similar control in the custom header bar. Note that the value of Stage#titleProperty()
may still be used by the platform, for example in the title of miniaturized preview windows.
| |
| TRANSPARENT | back to summary |
|---|---|
| public static final StageStyle TRANSPARENT Defines a | |
| UNDECORATED | back to summary |
|---|---|
| public static final StageStyle UNDECORATED Defines a | |
| UNIFIED | back to summary |
|---|---|
| public static final StageStyle UNIFIED Defines a Note To see the effect, the
| |
| UTILITY | back to summary |
|---|---|
| public static final StageStyle UTILITY Defines a lightweight Utility stages may restrict window operations like maximize, minimize, and fullscreen depending on the platform. They are designed to float above primary windows without acting as a main application stage. | |
| StageStyle | back to summary |
|---|---|
| private StageStyle() | |
| valueOf | back to summary |
|---|---|
| public static StageStyle valueOf(String name) | |
| values | back to summary |
|---|---|
| public static StageStyle[] values() | |