| Modifier and Type | Field and Description |
|---|---|
| private static List | |
| private boolean | |
| private Window | |
| protected Stage | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private static final Locale | |
| private Modality | |
| private GlassStage | |
| protected Window | |
| private static Map | |
| private static final ResourceBundle | |
| private boolean | |
| private KeyCombination | |
| private StageStyle | |
| private boolean | |
| private OverlayWarning |
| Access | Constructor and Description |
|---|---|
| public | WindowStage(Window peerWindow, final StageStyle stageStyle, Modality modality, TKStage owner, boolean darkFrame)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| private void | |
| public void | close()
Overrides com. Implements com.
|
| public void | |
| private void | |
| public TKScene | createTKScene(boolean depthBuffer, boolean msaa)
Implements com. Creates a Scene peer that can be displayed in this Stage peer. |
| private static void | |
| pack-priv void | |
| pack-priv static Image | |
| pack-priv static WindowStage | |
| pack-priv void | |
| public float | |
| public float | |
| protected GlassStage | |
| public float | |
| public float | |
| public final Window | |
| public long | getRawHandle()
Implements com. Return a handle to the native platform window id. |
| public final KeyCombination | |
| pack-priv StageStyle | |
| protected ViewScene | |
| public boolean | |
| pack-priv final void | |
| public final WindowStage | |
| private void | |
| pack-priv boolean | |
| public boolean | |
| private void | |
| public void | |
| public void | releaseInput()
Implements com. Native keyboard for text input is no longer necessary. |
| pack-priv static void | |
| public void | requestFocus()
Overrides com. Implements com.
|
| public void | requestFocus(FocusCause cause)
Overrides com. Implements com.
|
| public void | requestInput(String text, int type, double width, double height, double Mxx, double Mxy, double Mxz, double Mxt, double Myx, double Myy, double Myz, double Myt, double Mzx, double Mzy, double Mzz, double Mzt)
Implements com. Requests text input in form of native keyboard for text component contained by this Window. |
| protected void | |
| public void | |
| public void | setBounds(float x, float y, boolean xSet, boolean ySet, float w, float h, float cw, float ch, float xGravity, float yGravity, float renderScaleX, float renderScaleY)
Implements com. Sets the window bounds to the specified values. |
| public void | setDarkFrame(boolean value)
Overrides com. Implements com.
|
| public void | setEnabled(boolean enabled)
Implements com. Whether mouse/keyboard events should be sent to this window. |
| public void | |
| public void | setHeaderButtonDarkStyle(boolean darkStyle)
Overrides com. Implements com.
|
| public void | setHeaderButtonHeight(double height)
Overrides com. Implements com.
|
| public void | |
| public void | |
| pack-priv final void | |
| pack-priv final void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | setPlatformEnabled(boolean enabled)
Overrides com.
|
| pack-priv void | |
| public void | |
| public void | |
| public void | setScene(TKScene
The peer of the scene to be displayed scene)Overrides com. Implements com. Set the scene to be displayed in this stage |
| public void | |
| public void | setTKStageListener(TKStageListener listener)
Overrides com. Implements com. Listener for this stage peer to pass updates and events back to the stage |
| public void | setVisible(final boolean visible)
Overrides com. Implements com. Set if the stage is visible on screen |
| pack-priv void | |
| public void | |
| public void | |
| public void | ungrabFocus()
Implements com. Manually ungrabs focus grabbed on this window previously. |
| activeWindows | back to summary |
|---|---|
| private static List<WindowStage> activeWindows | |
| darkFrame | back to summary |
|---|---|
| private boolean darkFrame | |
| deadWindow | back to summary |
|---|---|
| private Window deadWindow | |
| fxStage | back to summary |
|---|---|
| protected Stage fxStage | |
| isAlwaysOnTop | back to summary |
|---|---|
| private boolean isAlwaysOnTop | |
| isClosePostponed | back to summary |
|---|---|
| private boolean isClosePostponed | |
| isInFullScreen | back to summary |
|---|---|
| private boolean isInFullScreen | |
| isPopupStage | back to summary |
|---|---|
| private boolean isPopupStage | |
| isPrimaryStage | back to summary |
|---|---|
| private boolean isPrimaryStage | |
| LOCALE | back to summary |
|---|---|
| private static final Locale LOCALE | |
| modality | back to summary |
|---|---|
| private Modality modality | |
| owner | back to summary |
|---|---|
| private GlassStage owner | |
| platformWindow | back to summary |
|---|---|
| protected Window platformWindow | |
| platformWindows | back to summary |
|---|---|
| private static Map<Window, WindowStage> platformWindows | |
| RESOURCES | back to summary |
|---|---|
| private static final ResourceBundle RESOURCES | |
| rtl | back to summary |
|---|---|
| private boolean rtl | |
| savedFullScreenExitKey | back to summary |
|---|---|
| private KeyCombination savedFullScreenExitKey | |
| style | back to summary |
|---|---|
| private StageStyle style | |
| transparent | back to summary |
|---|---|
| private boolean transparent | |
| warning | back to summary |
|---|---|
| private OverlayWarning warning | |
| WindowStage | back to summary |
|---|---|
| public WindowStage(Window peerWindow, final StageStyle stageStyle, Modality modality, TKStage owner, boolean darkFrame) | |
| addActiveWindow | back to summary |
|---|---|
| pack-priv static void addActiveWindow(WindowStage window) | |
| applyFullScreen | back to summary |
|---|---|
| private void applyFullScreen() | |
| close | back to summary |
|---|---|
| public void close() Overrides com. Implements com.
| |
| closePostponed | back to summary |
|---|---|
| public void closePostponed() Overrides default com.
| |
| computeAndSetBackground | back to summary |
|---|---|
| private void computeAndSetBackground(List<Stop> stops) | |
| createTKScene | back to summary |
|---|---|
| public TKScene createTKScene(boolean depthBuffer, boolean msaa) Implements com. Doc from com. Creates a Scene peer that can be displayed in this Stage peer.
| |
| disposeScenePainter | back to summary |
|---|---|
| private static void disposeScenePainter(ViewScene oldScene) | |
| exitFullScreen | back to summary |
|---|---|
| pack-priv void exitFullScreen() | |
| findBestImage | back to summary |
|---|---|
| pack-priv static Image findBestImage(List<E> icons, int width, int height) | |
| findWindowStage | back to summary |
|---|---|
| pack-priv static WindowStage findWindowStage(Window platformWindow) | |
| fullscreenChanged | back to summary |
|---|---|
| pack-priv void fullscreenChanged(final boolean fs) | |
| getOutputScaleX | back to summary |
|---|---|
| public float getOutputScaleX() Implements com.
| |
| getOutputScaleY | back to summary |
|---|---|
| public float getOutputScaleY() Implements com.
| |
| getOwner | back to summary |
|---|---|
| protected GlassStage getOwner() | |
| getPlatformScaleX | back to summary |
|---|---|
| public float getPlatformScaleX() Implements com.
| |
| getPlatformScaleY | back to summary |
|---|---|
| public float getPlatformScaleY() Implements com.
| |
| getPlatformWindow | back to summary |
|---|---|
| public final Window getPlatformWindow() | |
| getRawHandle | back to summary |
|---|---|
| public long getRawHandle() Implements com. Doc from com. Return a handle to the native platform window id.
| |
| getSavedFullScreenExitKey | back to summary |
|---|---|
| public final KeyCombination getSavedFullScreenExitKey() | |
| getStyle | back to summary |
|---|---|
| pack-priv StageStyle getStyle() | |
| getViewScene | back to summary |
|---|---|
| protected ViewScene getViewScene() | |
| grabFocus | back to summary |
|---|---|
| public boolean grabFocus() Implements com. Doc from com. Grabs focus on this window.
All mouse clicks that occur in this window's client area or client-areas
of any of its unfocusable owned windows are delivered as usual. Whenever
a click occurs on another app's window (not related via the ownership
relation with this one, or a focusable owned window), or on non-client
area of any window (titlebar, etc.), or any third-party app's window, or
native OS GUI (e.g. a taskbar), the grab is automatically reset, and the
window that held the grab receives the FOCUS_UNGRAB event.
Note that for this functionality to work correctly, the window must have
a focus upon calling this method. All owned popup windows that should be
operable during the grabbed focus state (e.g. nested popup menus) must
be unfocusable (see
| |
| handleFocusDisabled | back to summary |
|---|---|
| pack-priv final void handleFocusDisabled() | |
| init | back to summary |
|---|---|
| public final WindowStage init(GlassSystemMenu sysmenu) | |
| initPlatformWindow | back to summary |
|---|---|
| private void initPlatformWindow() | |
| isVisible | back to summary |
|---|---|
| pack-priv boolean isVisible() Overrides com.
| |
| needsUpdateWindow | back to summary |
|---|---|
| public boolean needsUpdateWindow() | |
| notifyHeaderButtonMetricsChanged | back to summary |
|---|---|
| private void notifyHeaderButtonMetricsChanged() | |
| postponeClose | back to summary |
|---|---|
| public void postponeClose() Overrides default com.
| |
| releaseInput | back to summary |
|---|---|
| public void releaseInput() Implements com. Doc from com. Native keyboard for text input is no longer necessary. Keyboard will be hidden and native text input component too.
| |
| removeActiveWindow | back to summary |
|---|---|
| pack-priv static void removeActiveWindow(WindowStage window) | |
| requestFocus | back to summary |
|---|---|
| public void requestFocus() Overrides com. Implements com.
| |
| requestFocus | back to summary |
|---|---|
| public void requestFocus(FocusCause cause) Overrides com. Implements com.
| |
| requestInput | back to summary |
|---|---|
| public void requestInput(String text, int type, double width, double height, double Mxx, double Mxy, double Mxz, double Mxt, double Myx, double Myy, double Myz, double Myt, double Mzx, double Mzy, double Mzz, double Mzt) Implements com. Doc from com. Requests text input in form of native keyboard for text component contained by this Window. Native text input component is drawn on the place of JavaFX component to cover it completely and to provide native text editing techniques. Any change of text is immediately reflected in JavaFX text component.
| |
| requestToFront | back to summary |
|---|---|
| protected void requestToFront() | |
| setAlwaysOnTop | back to summary |
|---|---|
| public void setAlwaysOnTop(boolean alwaysOnTop) Implements com.
| |
| setBounds | back to summary |
|---|---|
| public void setBounds(float x, float y, boolean xSet, boolean ySet, float w, float h, float cw, float ch, float xGravity, float yGravity, float renderScaleX, float renderScaleY) Implements com. Doc from com. Sets the window bounds to the specified values.
Gravity values specify how to correct window location if only its size
changes (for example when stage decorations are added). User initiated
resizing should be ignored and must not influence window location through
this mechanism.
The corresponding correction formulas are:
| |
| setDarkFrame | back to summary |
|---|---|
| public void setDarkFrame(boolean value) Overrides com. Implements com.
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Implements com. Doc from com. Whether mouse/keyboard events should be sent to this window.
| |
| setFullScreen | back to summary |
|---|---|
| public void setFullScreen(boolean fullScreen) Implements com.
| |
| setHeaderButtonDarkStyle | back to summary |
|---|---|
| public void setHeaderButtonDarkStyle(boolean darkStyle) Overrides com. Implements com.
| |
| setHeaderButtonHeight | back to summary |
|---|---|
| public void setHeaderButtonHeight(double height) Overrides com. Implements com.
| |
| setIconified | back to summary |
|---|---|
| public void setIconified(boolean iconified) Implements com.
| |
| setIcons | back to summary |
|---|---|
| public void setIcons(List<E> icons) Implements com.
| |
| setIsPopup | back to summary |
|---|---|
| pack-priv final void setIsPopup() | |
| setIsPrimary | back to summary |
|---|---|
| pack-priv final void setIsPrimary() | |
| setMaximized | back to summary |
|---|---|
| public void setMaximized(boolean maximized) Implements com.
| |
| setMaximumSize | back to summary |
|---|---|
| public void setMaximumSize(int maxWidth, int maxHeight) Implements com.
| |
| setMinimumSize | back to summary |
|---|---|
| public void setMinimumSize(int minWidth, int minHeight) Implements com.
| |
| setOpacity | back to summary |
|---|---|
| public void setOpacity(float opacity) Implements com.
| |
| setPlatformEnabled | back to summary |
|---|---|
| protected void setPlatformEnabled(boolean enabled) Overrides com.
| |
| setPlatformWindowClosed | back to summary |
|---|---|
| pack-priv void setPlatformWindowClosed() | |
| setResizable | back to summary |
|---|---|
| public void setResizable(boolean resizable) Implements com.
| |
| setRTL | back to summary |
|---|---|
| public void setRTL(boolean b) Implements com.
| |
| setScene | back to summary |
|---|---|
| public void setScene(TKScene scene) Overrides com. Implements com. Set the scene to be displayed in this stage | |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Implements com.
| |
| setTKStageListener | back to summary |
|---|---|
| public void setTKStageListener(TKStageListener listener) Overrides com. Implements com. Doc from com. Listener for this stage peer to pass updates and events back to the stage
| |
| setVisible | back to summary |
|---|---|
| public void setVisible(final boolean visible) Overrides com. Implements com. Doc from com. Set if the stage is visible on screen
| |
| setWarning | back to summary |
|---|---|
| pack-priv void setWarning(OverlayWarning newWarning) | |
| toBack | back to summary |
|---|---|
| public void toBack() Implements com.
| |
| toFront | back to summary |
|---|---|
| public void toFront() Implements com.
| |
| ungrabFocus | back to summary |
|---|---|
| public void ungrabFocus() Implements com. Doc from com. Manually ungrabs focus grabbed on this window previously. This method resets the grab, and forces sending of the FOCUS_UNGRAB event. It should be used when popup windows (such as menus) should be dismissed manually, e.g. when a user clicks a menu item which usually causes the menus to hide.
| |