| Modifier and Type | Field and Description |
|---|---|
| public static final long | |
| private boolean | |
| private boolean | |
| pack-priv float | |
| pack-priv float | |
| pack-priv int | |
| pack-priv int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected native boolean | |
| protected native long | _createWindow(long ownerPtr, long screenPtr, int mask)
Implements abstract com.
|
| protected native void | |
| protected native void | _enterModalWithWindow(long dialog, long window)
Implements abstract com.
|
| protected native void | |
| private native long | |
| private native long | |
| protected native boolean | |
| private static native void | |
| protected native boolean | _maximize(long ptr, boolean maximize, boolean wasMaximized)
Implements abstract com.
|
| protected native boolean | |
| protected void | |
| protected native boolean | |
| protected void | _requestInput(long ptr, 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 abstract com.
|
| protected native void | |
| protected boolean | _setBackground(long ptr, float r, float g, float b)
Implements abstract com.
|
| protected native boolean | |
| protected native void | _setBounds(long ptr, int x, int y, boolean xSet, boolean ySet, int w, int h, int cw, int ch, float xGravity, float yGravity)
Implements abstract com.
|
| protected native void | |
| protected native void | |
| protected native void | _setFocusable(long ptr, boolean isFocusable)
Implements abstract com.
|
| protected native void | |
| protected native void | |
| protected native boolean | _setMaximumSize(long ptr, int width, int height)
Implements abstract com.
|
| protected native boolean | |
| protected native boolean | _setMinimumSize(long ptr, int width, int height)
Implements abstract com.
|
| protected native boolean | _setResizable(long ptr, boolean resizable)
Implements abstract com.
|
| protected native boolean | |
| protected native boolean | |
| protected native boolean | |
| protected native void | |
| protected native void | |
| protected native void | |
| protected native void | |
| public void | |
| protected int[] | notifyMoving(int x, int y, int w, int h, float fx_x, float fx_y, int anchorX, int anchorY, int resizeMode, int iLft, int iTop, int iRgt, int iBot)
|
| protected void | notifyResize(int type, int width, int height)
Overrides com. type values: - WindowEvent.RESIZE - WindowEvent.MINIMIZE - WindowEvent.MAXIMIZE - WindowEvent.RESTORE |
| 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)Overrides com. Sets the window bounds to the specified values. |
| pack-priv void | setDeferredClosing(boolean dc)
Defer destroying the window to avoid a crash when using a native dialog (like a file chooser). |
| ANCHOR_NO_CAPTURE | back to summary |
|---|---|
| public static final long ANCHOR_NO_CAPTURE | |
| closingRequested | back to summary |
|---|---|
| private boolean closingRequested | |
| deferredClosing | back to summary |
|---|---|
| private boolean deferredClosing | |
| fxReqHeight | back to summary |
|---|---|
| pack-priv float fxReqHeight | |
| fxReqWidth | back to summary |
|---|---|
| pack-priv float fxReqWidth | |
| pfReqHeight | back to summary |
|---|---|
| pack-priv int pfReqHeight | |
| pfReqWidth | back to summary |
|---|---|
| pack-priv int pfReqWidth | |
| RESIZE_AROUND_ANCHOR | back to summary |
|---|---|
| public static final int RESIZE_AROUND_ANCHOR | |
| RESIZE_DISABLE | back to summary |
|---|---|
| public static final int RESIZE_DISABLE | |
| RESIZE_TO_FX_ORIGIN | back to summary |
|---|---|
| public static final int RESIZE_TO_FX_ORIGIN | |
| WinWindow | back to summary |
|---|---|
| protected WinWindow(Window owner, Screen screen, int styleMask) | |
| _close | back to summary |
|---|---|
| protected native boolean _close(long ptr) Implements abstract com.
| |
| _createWindow | back to summary |
|---|---|
| protected native long _createWindow(long ownerPtr, long screenPtr, int mask) Implements abstract com.
| |
| _enterModal | back to summary |
|---|---|
| protected native void _enterModal(long ptr) Implements abstract com.
| |
| _enterModalWithWindow | back to summary |
|---|---|
| protected native void _enterModalWithWindow(long dialog, long window) Implements abstract com.
| |
| _exitModal | back to summary |
|---|---|
| protected native void _exitModal(long ptr) Implements abstract com.
| |
| _getAnchor | back to summary |
|---|---|
| private native long _getAnchor(long ptr) | |
| _getInsets | back to summary |
|---|---|
| private native long _getInsets(long ptr) | |
| _grabFocus | back to summary |
|---|---|
| protected native boolean _grabFocus(long ptr) Implements abstract com.
| |
| _initIDs | back to summary |
|---|---|
| private static native void _initIDs() | |
| _maximize | back to summary |
|---|---|
| protected native boolean _maximize(long ptr, boolean maximize, boolean wasMaximized) Implements abstract com.
| |
| _minimize | back to summary |
|---|---|
| protected native boolean _minimize(long ptr, boolean minimize) Implements abstract com.
| |
| _releaseInput | back to summary |
|---|---|
| protected void _releaseInput(long ptr) Implements abstract com.
| |
| _requestFocus | back to summary |
|---|---|
| protected native boolean _requestFocus(long ptr, int event) Implements abstract com.
| |
| _requestInput | back to summary |
|---|---|
| protected void _requestInput(long ptr, 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 abstract com.
| |
| _setAlpha | back to summary |
|---|---|
| protected native void _setAlpha(long ptr, float alpha) Implements abstract com.
| |
| _setBackground | back to summary |
|---|---|
| protected boolean _setBackground(long ptr, float r, float g, float b) Implements abstract com.
| |
| _setBackground2 | back to summary |
|---|---|
| protected native boolean _setBackground2(long ptr, float r, float g, float b) | |
| _setBounds | back to summary |
|---|---|
| protected native void _setBounds(long ptr, int x, int y, boolean xSet, boolean ySet, int w, int h, int cw, int ch, float xGravity, float yGravity) Implements abstract com.
| |
| _setCursor | back to summary |
|---|---|
| protected native void _setCursor(long ptr, Cursor cursor) Implements abstract com.
| |
| _setEnabled | back to summary |
|---|---|
| protected native void _setEnabled(long ptr, boolean enabled) Implements abstract com.
| |
| _setFocusable | back to summary |
|---|---|
| protected native void _setFocusable(long ptr, boolean isFocusable) Implements abstract com.
| |
| _setIcon | back to summary |
|---|---|
| protected native void _setIcon(long ptr, Pixels pixels) Implements abstract com.
| |
| _setLevel | back to summary |
|---|---|
| protected native void _setLevel(long ptr, int level) Implements abstract com.
| |
| _setMaximumSize | back to summary |
|---|---|
| protected native boolean _setMaximumSize(long ptr, int width, int height) Implements abstract com.
| |
| _setMenubar | back to summary |
|---|---|
| protected native boolean _setMenubar(long ptr, long menubarPtr) Implements abstract com.
| |
| _setMinimumSize | back to summary |
|---|---|
| protected native boolean _setMinimumSize(long ptr, int width, int height) Implements abstract com.
| |
| _setResizable | back to summary |
|---|---|
| protected native boolean _setResizable(long ptr, boolean resizable) Implements abstract com.
| |
| _setTitle | back to summary |
|---|---|
| protected native boolean _setTitle(long ptr, String title) Implements abstract com.
| |
| _setView | back to summary |
|---|---|
| protected native boolean _setView(long ptr, View view) Implements abstract com.
| |
| _setVisible | back to summary |
|---|---|
| protected native boolean _setVisible(long ptr, boolean visible) Implements abstract com.
| |
| _toBack | back to summary |
|---|---|
| protected native void _toBack(long ptr) Implements abstract com.
| |
| _toFront | back to summary |
|---|---|
| protected native void _toFront(long ptr) Implements abstract com.
| |
| _ungrabFocus | back to summary |
|---|---|
| protected native void _ungrabFocus(long ptr) Implements abstract com.
| |
| _updateViewSize | back to summary |
|---|---|
| protected native void _updateViewSize(long ptr) Implements abstract com.
| |
| close | back to summary |
|---|---|
| public void close() Overrides com.
| |
| notifyMoving | back to summary |
|---|---|
| protected int[] notifyMoving(int x, int y, int w, int h, float fx_x, float fx_y, int anchorX, int anchorY, int resizeMode, int iLft, int iTop, int iRgt, int iBot) | |
| notifyResize | back to summary |
|---|---|
| protected void notifyResize(int type, int width, int height) Overrides com. Doc from com. type values: - WindowEvent.RESIZE - WindowEvent.MINIMIZE - WindowEvent.MAXIMIZE - WindowEvent.RESTORE
| |
| 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) Overrides 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:
| |
| setDeferredClosing | back to summary |
|---|---|
| pack-priv void setDeferredClosing(boolean dc) Defer destroying the window to avoid a crash when using a native dialog (like a file chooser). | |