| Modifier and Type | Field and Description |
|---|---|
| private HostInterface |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TKScene | createTKScene(boolean depthBuffer, boolean msaa)
Implements com. Creates a Scene peer that can be displayed in this Stage peer. |
| public void | |
| public float | |
| public float | |
| public float | |
| public float | |
| public long | getRawHandle()
Implements com. Return a handle to the native platform window id. |
| public boolean | |
| private void | |
| private void | |
| public void | releaseInput()
Implements com. Native keyboard for text input is no longer necessary. |
| public void | requestFocus()
Overrides com. Implements com.
|
| public void | requestInput(String
text to be shown in the native text input component text, int type of text input component @see com.sun.javafx.scene.control.behavior.TextInputTypes type, double width of JavaFX text input component width, double height of JavaFX text input component 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. |
| public void | |
| public void | setBounds(float
the new window horizontal position, ignored if xSet is set to
false x, float the new window vertical position, ignored if ySet is set to
false y, boolean indicates whether the x parameter is valid xSet, boolean indicates whether the y parameter is valid ySet, float the new window width, ignored if set to -1 w, float the new window height, ignored if set to -1 h, float the new window content width, ignored if set to -1 cw, float the new window content height, ignored if set to -1 ch, float the xGravity coefficient xGravity, float the yGravity coefficient yGravity, float new rendering scale, ignored if < 1 renderScaleX, float new rendering scale, ignored if < 1 renderScaleY)Implements com. Sets the window bounds to the specified values. |
| public void | setEnabled(boolean enabled)
Implements com. Whether mouse/keyboard events should be sent to this window. |
| public void | setFocused(final boolean focused, final int focusCause)
Implements com.
|
| public void | |
| public void | |
| public void | |
| public void | setLocation(final int x, final int y)
Implements com.
|
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | setPlatformEnabled(boolean enabled)
Overrides com.
|
| 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 | setSize(final int width, final int height)
Implements com.
|
| public void | |
| public void | setVisible(boolean
True if the stage should be visible visible)Overrides com. Implements com. Set if the stage is visible on screen |
| public void | |
| public void | |
| public void | ungrabFocus()
Implements com. Manually ungrabs focus grabbed on this window previously. |
| host | back to summary |
|---|---|
| private HostInterface host | |
| EmbeddedStage | back to summary |
|---|---|
| public EmbeddedStage(HostInterface host) | |
| 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. | |
| focusUngrab | back to summary |
|---|---|
| public void focusUngrab() Implements com.
| |
| getOutputScaleX | back to summary |
|---|---|
| public float getOutputScaleX() Implements com.
| |
| getOutputScaleY | back to summary |
|---|---|
| public float getOutputScaleY() Implements com.
| |
| getPlatformScaleX | back to summary |
|---|---|
| public float getPlatformScaleX() Implements com.
| |
| getPlatformScaleY | back to summary |
|---|---|
| public float getPlatformScaleY() Implements com.
| |
| getRawHandle | back to summary |
|---|---|
| public long getRawHandle() Implements com. Doc from com. Return a handle to the native platform window id.
| |
| 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
| |
| notifyStageListener | back to summary |
|---|---|
| private void notifyStageListener(final Runnable r) | |
| notifyStageListenerLater | back to summary |
|---|---|
| private void notifyStageListenerLater(final Runnable r) | |
| 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.
| |
| requestFocus | back to summary |
|---|---|
| public void requestFocus() 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. | |
| 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:
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Implements com. Doc from com. Whether mouse/keyboard events should be sent to this window.
| |
| setFocused | back to summary |
|---|---|
| public void setFocused(final boolean focused, final int focusCause) Implements com.
| |
| setFullScreen | back to summary |
|---|---|
| public void setFullScreen(boolean fullScreen) 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.
| |
| setLocation | back to summary |
|---|---|
| public void setLocation(final int x, final int y) Implements com.
| |
| 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.
| |
| 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. Doc from com. Set the scene to be displayed in this stage | |
| setSize | back to summary |
|---|---|
| public void setSize(final int width, final int height) Implements com.
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Implements com.
| |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean visible) Overrides com. Implements com. Doc from com. Set if the stage is visible on screen
| |
| 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.
| |