| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | |
| private class | |
| private class | |
| public static interface | |
| private class | |
| private class | |
| private static class | WindowImpl.
from event passing: |
| private static class | |
| private class | |
| private class | |
| private class | |
| private class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected CapabilitiesChooser | |
| protected CapabilitiesImmutable | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| private final ArrayList | |
| private final Object | |
| private final Object | |
| private AbstractGraphicsConfiguration | |
| private static final MouseEvent. | |
| private static final boolean | |
| public static final boolean | |
| private WindowClosingProtocol. | |
| private boolean | |
| private final Runnable | |
| private Window. | |
| private final WindowImpl. | |
| private List | |
| private DoubleTapScrollGesture | |
| private ArrayList | |
| protected final float[] | |
| private volatile Insets | |
| private KeyListener | |
| protected boolean | |
| private ArrayList | |
| private final Bitfield | |
| private static final int | |
| private WindowImpl. | |
| protected final float[] | |
| protected static final int | |
| protected final float[] | |
| private final WindowImpl. | |
| private ArrayList | |
| private int | |
| private NativeWindow | |
| private int | |
| private int | |
| private int | |
| private final int[] | |
| private final boolean[] | |
| private NativeWindow | |
| private long | |
| private volatile int | |
| private volatile int | |
| private final ArrayHashSet | pName2pID
Pointer names -> pointer ID (consecutive index, starting w/ 0) |
| private ArrayList | |
| private PointerIconImpl | |
| private final WindowImpl. | |
| private final WindowImpl. | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final long | QUEUED_EVENT_TO
Timeout of queued events (repaint and resize) |
| protected static final int | QUIRK_BIT_VISIBILITY
Bug 1249 and Bug 1250: Visibility issues on X11
|
| protected static final Bitfield | quirks
Quirk mask |
| private boolean | |
| private final Runnable | |
| protected final float[] | |
| private final Runnable | |
| private final Runnable | |
| private ScreenImpl | |
| private boolean | |
| protected static final int | STATE_BIT_COUNT_ALL_PUBLIC
Number of all public state bits, . |
| protected static final int | |
| protected static final int | |
| protected static final int | STATE_MASK_ALL_PUBLIC
Bitmask for |
| protected static final int | |
| protected static final int | |
| protected static final int | STATE_MASK_CREATENATIVE
Reconfig mask for createNativeImpl(..) taking out from |
| private static final int | STATE_MASK_FULLSCREEN_NFS
Mask covering all preserved non-fullscreen (NFS) states while in fullscreen mode. |
| pack-priv static final int | STATE_MASK_FULLSCREEN_SPAN
Bitmask for |
| pack-priv final Bitfield | stateMask
Regular state mask |
| private final Bitfield | stateMaskNFS
Non fullscreen state mask |
| protected int | supportedReconfigStateMask
Default is all but |
| private int | |
| private final SurfaceUpdatedHelper | |
| private String | |
| private Runnable | |
| private volatile long | |
| protected static final ArrayList | |
| private ArrayList | |
| private final RecursiveLock | |
| private volatile int | |
| private volatile int | |
| private volatile int | |
| private volatile int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | |
| public final void | addGestureHandler(final GestureHandler gh)
Implements com. GestureHandler to the end of the list.
|
| public final void | addGestureHandler(int
Position where the listener will be inserted.
Should be within (0 <= index && index <= size()).
An index value of -1 is interpreted as the end of the list, size(). index, final GestureHandler The listener object to be inserted gh)Implements com. GestureHandler at the
specified position in the list.
|
| public final void | addGestureListener(final GestureHandler.
Implements com. GestureHandler. to the end of the list.
|
| public final void | addGestureListener(int
Position where the listener will be inserted.
Should be within (0 <= index && index <= size()).
An index value of -1 is interpreted as the end of the list, size(). index, final GestureHandler.The listener object to be inserted glImplements com. GestureHandler. at the
specified position in the list.
|
| public final void | addKeyListener(final KeyListener l)
Implements com. com. to the end of
the list.
|
| public final void | addKeyListener(int
Position where the listener will be inserted.
Should be within (0 <= index && index <= size()).
An index value of -1 is interpreted as the end of the list, size(). index, final KeyListener The listener object to be inserted l)Implements com. com. at the
specified position in the list.
|
| public final void | addMouseListener(final MouseListener l)
Implements com. MouseListener to the end of the list.
|
| public final void | addMouseListener(int
Position where the listener will be inserted.
Should be within (0 <= index && index <= size()).
An index value of -1 is interpreted as the end of the list, size(). index, final MouseListener The listener object to be inserted l)Implements com. MouseListener at the
specified position in the list.
|
| public final void | addSurfaceUpdatedListener(final SurfaceUpdatedListener l)
Implements com. SurfaceUpdatedListener to the end of the list.
|
| public final void | addSurfaceUpdatedListener(final int
Position where the listener will be inserted.
Should be within (0 <= index && index <= size()).
An index value of -1 is interpreted as the end of the list, size(). index, final SurfaceUpdatedListener The listener object to be inserted l)Implements com. SurfaceUpdatedListener at the
specified position in the list.
|
| private static void | |
| public final void | addWindowListener(final WindowListener l)
Implements com. com. to the end of
the list.
|
| public final void | addWindowListener(int
Position where the listener will be inserted.
Should be within (0 <= index && index <= size()).
An index value of -1 is interpreted as the end of the list, size(). index, final WindowListener The listener object to be inserted l)Implements com. com. at the
specified position in the list.
|
| protected static StringBuilder | |
| public final boolean | areDefaultGesturesEnabled()
Implements com. GestureHandler are enabled.
|
| protected final boolean | |
| protected boolean | |
| protected abstract void | |
| public final void | confinePointer(final boolean
defaults to confine)false.Implements com. |
| protected boolean | |
| public final boolean | consumeEvent(final NEWTEvent e)
Implements com. |
| protected void | |
| protected void | |
| protected void | |
| public final int[] | convertToPixelUnits(final int[]
int[2] storage holding the window units for the x- and y-coord to convert
and the resulting values. windowUnitsAndResult)Implements com. |
| protected final Point | |
| public final int[] | convertToWindowUnits(final int[]
int[2] storage holding the pixel units for the x- and y-coord to convert
and the resulting values. pixelUnitsAndResult)Implements com. |
| protected final Point | |
| public static WindowImpl | create(final NativeWindow parentWindow, final long parentWindowHandle, final Screen screen, final CapabilitiesImmutable caps)
|
| public static WindowImpl | |
| private boolean | |
| protected abstract void | |
| protected final void | definePosition(final int x, final int y)
Sets the position fields |
| protected final void | defineSize(final int winWidth, final int winHeight)
Sets the size fields |
| public void | |
| protected void | |
| private final void | |
| private void | |
| protected final void | doMouseEvent(final boolean enqueue, final boolean wait, final short eventType, final int modifiers, final int x, final int y, final short button, final float rotation)
|
| protected void | doMouseEvent(final boolean enqueue, final boolean
if true wait until wait, final short eventType, final int modifiers, final int x, final int y, final short button, final float[] rotationXYZ, final float rotationScale)consumed.Send mouse event (one-pointer) either to be directly consumed or to be enqueued |
| public final void | doPointerEvent(final boolean enqueue, final boolean
if true wait until wait, final MouseEvent.consumed.MouseEvent. for each pointer (multiple pointer)index of multiple-pointer arrays representing the pointer which triggered the event actionIdx, final boolean see pName below. normalPNames, final int[] Pointer name for each pointer (multiple pointer).
We assume consecutive pointer names starting w/ 0 if pNames, final int[] normalPIDs is true.
Otherwise we hash-map the values during state pressed to retrieve the normal ID.X-axis for each pointer (multiple pointer) pX, final int[] Y-axis for each pointer (multiple pointer) pY, final float[] Pressure for each pointer (multiple pointer) pPressure, final float Maximum pointer pressure for all pointer maxPressure, final float[] rotationXYZ, final float rotationScale)Send multiple-pointer event either to be directly consumed or to be enqueued The index for the element of multiple-pointer arrays represents the pointer which triggered the event is passed via actionIdx. |
| public final void | doPointerEvent(final boolean enqueue, final boolean
if true wait until wait, final MouseEvent.consumed.MouseEvent. for each pointer (multiple pointer)index of multiple-pointer arrays representing the pointer which triggered the event pActionIdx, final short[] Pointer ID for each pointer (multiple pointer). We assume consecutive pointerIDs starting w/ 0. pID, final short Corresponding mouse-button, a button of 0 denotes no activity, i.e. buttonIn, final int[] PointerType#Mouse move.X-axis for each pointer (multiple pointer) pX, final int[] Y-axis for each pointer (multiple pointer) pY, final float[] Pressure for each pointer (multiple pointer) pPressure, final float Maximum pointer pressure for all pointer maxPressure, final float[] rotationXYZ, final float rotationScale)Send multiple-pointer event either to be directly consumed or to be enqueued. |
| public final void | enqueueEvent(final boolean
Passing wait, final NEWTEvent true will block until the event has been processed, otherwise method returns immediately.The event)event to enqueue.Implements com. NEWT event.
|
| public void | enqueueKeyEvent(final boolean wait, final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar)
|
| public final void | enqueueMouseEvent(final boolean wait, final short eventType, final int modifiers, final int x, final int y, final short button, final float rotation)
|
| public final void | |
| private boolean | |
| protected void | focusChanged(final boolean defer, final boolean focusGained)
Triggered by implementation's WM events to update the focus state. |
| protected final void | focusVisibleChanged(final boolean defer, final int
-1 ignored, 0 unfocused, > 0 focused focusChange, final int -1 ignored, 0 invisible, > 0 visible visibleChange)Triggered by implementation's WM events to update the focus and visibility state |
| private static String | |
| public final Rectangle | getBounds()
Implements com. Rectangle containing window origin, getX() & getY(),
and size, getWidth() & getHeight(), in window units.
|
| public final CapabilitiesImmutable | getChosenCapabilities()
Implements com. |
| public final float[] | getCurrentSurfaceScale(final float[]
float[2] storage for the result result)Implements com. NativeSurface.
|
| private static Class | |
| public final WindowClosingProtocol. | |
| public final Window | getDelegatedWindow()
Implements com. Window instance,
otherwise return this instance.
|
| public final long | getDisplayHandle()
Implements com. |
| public final AbstractGraphicsConfiguration | getGraphicsConfiguration()
Implements com. |
| public final int | getHeight()
Implements com. |
| public final InsetsImmutable | getInsets()
Implements com. |
| public final KeyListener | |
| public final KeyListener[] | |
| public final WindowImpl. | |
| public Point | getLocationOnScreen(Point
Optional storage)Point storage.
If not null, null, it is translated about the resulting screen position
and returned.Implements com. |
| protected abstract Point | Returns: if not null, the screen location of the given coordinatesTranslates the given window client-area coordinates with top-left origin to screen coordinates in window units. |
| public final RecursiveLock | |
| public final MonitorDevice | getMainMonitor()
Implements com. MonitorDevice with the highest viewport
coverage of this window.
|
| public final float[] | getMaximumSurfaceScale(final float[]
float[2] storage for the result result)Implements com. NativeSurface.
|
| public final float[] | getMinimumSurfaceScale(final float[]
float[2] storage for the result result)Implements com. NativeSurface.
|
| public final MouseListener | getMouseListener(int index)
Implements com. MouseListener from the list at the given index.
|
| public final MouseListener[] | |
| public final NativeSurface | getNativeSurface()
Implements com. NativeSurface of this NativeSurfaceHolder.
|
| private static long | |
| public final NativeWindow | |
| protected final long | |
| protected final float | getPixelScaleX()
HiDPI: We currently base scaling of window units to pixel units on an integer scale factor per component. |
| protected final float | getPixelScaleY()
HiDPI: We currently base scaling of window units to pixel units on an integer scale factor per component. |
| public final float[] | getPixelsPerMM(final float[]
float[2] storage for the ppmm result ppmmStore)Implements com. NativeSurface
according to the main monitor's current mode's
surface resolution.
|
| public final Display. | getPointerIcon()
Implements com. PointerIcon, which maybe null for the default.
|
| protected static String | |
| protected int | |
| public final CapabilitiesImmutable | getRequestedCapabilities()
Implements com. |
| public final float[] | getRequestedSurfaceScale(final float[]
float[2] storage for the result result)Implements com. requested pixel scale of the associated NativeSurface.
|
| public final Screen | |
| public final int | getScreenIndex()
Implements com. |
| public final int | getStateMask()
Implements com. |
| public final String | getStateMaskString()
Implements com. current state mask.
|
| public final int | getStatePublicBitCount()
Implements com. |
| public final int | getStatePublicBitmask()
Implements com. |
| protected abstract int | |
| public final int | getSupportedStateMask()
Implements com. state mask of the implementation.
|
| public final String | getSupportedStateMaskString()
Implements com. supported state mask.
|
| public long | getSurfaceHandle()
Implements com. |
| public final int | getSurfaceHeight()
Implements com. |
| public final Thread | getSurfaceLockOwner()
Implements com. |
| public final int | getSurfaceWidth()
Implements com. |
| public static String | |
| public final String | |
| private static String | |
| public final int | getWidth()
Implements com. |
| private static Class | |
| public final long | getWindowHandle()
Implements com. |
| public final WindowListener | |
| public final WindowListener[] | |
| public NativeSurface | getWrappedSurface()
If this Window actually wraps a |
| public final int | getX()
Implements com. |
| public final int | getY()
Implements com. |
| public boolean | hasDeviceChanged()
If the implementation is capable of detecting a device change return true and clear the status/reason of the change. |
| public final boolean | hasFocus()
Implements com. |
| protected void | insetsChanged(final boolean defer, final int
insets, -1 ignored left, final int insets, -1 ignored right, final int insets, -1 ignored top, final int insets, -1 ignored bottom)Triggered by implementation's WM events to update the insets. |
| protected final void | insetsVisibleChanged(final boolean defer, final int
insets, -1 ignored left, final int insets, -1 ignored right, final int insets, -1 ignored top, final int insets, -1 ignored bottom, final int -1 ignored, 0 invisible, > 0 visible visibleChange)Triggered by implementation's WM events to update the client-area position, size, insets and maximized flags. |
| private final void | |
| protected void | |
| public final boolean | |
| public final boolean | |
| public final boolean | isChildWindow()
Implements com. true if this window is a child window,
i.e. has been reparented.
|
| public final boolean | |
| public final boolean | isKeyboardVisible()
Implements com. true if the virtual on-screen keyboard is visible, otherwise false.
|
| protected final boolean | |
| protected final boolean | Returns: true if pressed, otherwise falsethe keyCode to test pressed state keyCode)
|
| public final boolean | |
| public final boolean | |
| public final boolean | |
| protected static boolean | Returns: true if at least one of both window's configurations is offscreenchild window, must not be null cWin, final NativeWindow parent window, may be null pWin)
|
| public final boolean | |
| public final boolean | |
| protected final boolean | isReconfigureMaskSupported(final int reconfigMask)
Tests whether the given reconfigure state-mask is supported by implementation. |
| public final boolean | |
| public final boolean | |
| public final boolean | isSurfaceLockedByOtherThread()
Implements com. |
| public final boolean | |
| private static final boolean | |
| public final boolean | |
| protected void | keyboardVisibilityChanged(final boolean visible)
Triggered by implementation's WM events to update the virtual on-screen keyboard's visibility state. |
| public final int | lockSurface()
Implements com. |
| protected int | |
| protected final void | maximizedChanged(final boolean newMaxHorz, final boolean newMaxVert)
Triggered by implementation's WM events to update maximized window state. |
| protected void | monitorModeChanged(final MonitorEvent me, final boolean success)
Notify WindowDriver about the finished monitor mode change. |
| public final void | pixelScaleChangeNotify(final float[] minPixelScale, final float[] maxPixelScale, final boolean reset)
Notify to update the pixel-scale values. |
| protected final void | positionChanged(final boolean defer, final int newX, final int newY)
Triggered by implementation's WM events to update the position. |
| private final boolean | |
| protected void | reconfigMaximizedManual(final int flags, final int[] posSize, final InsetsImmutable insets)
Manually calculate maximized and de-maximized position and size not regarding a fixed taskbar etc.
Use only if:
|
| protected abstract boolean | reconfigureWindowImpl(int
client-area position in window units, or <0 if unchanged x, int client-area position in window units, or <0 if unchanged y, int client-area size in window units, or <=0 if unchanged width, int client-area size in window units, or <=0 if unchanged height, int bitfield of change and status flags flags)The native implementation should invoke the referenced java state callbacks to notify this Java object of state changes. |
| public final boolean | |
| public final void | removeGestureHandler(final GestureHandler gh)
Implements com. GestureHandler from the list.
|
| public final void | removeGestureListener(final GestureHandler.
Implements com. GestureHandler. from the list.
|
| public final void | |
| public final void | removeMouseListener(final MouseListener l)
Implements com. MouseListener from the list.
|
| private void | |
| public final void | removeSurfaceUpdatedListener(final SurfaceUpdatedListener l)
Implements com. SurfaceUpdatedListener from the list.
|
| public final void | |
| public final Window. | reparentWindow(final NativeWindow
The new parent NativeWindow. If null, this Window becomes a top level window. newParent, final int new top-level position in window units, use -1 for default position. x, final int new top-level position in window units, use -1 for default position. y, final int May contain hints (bitfield values) like hints)REPARENT_HINT_FORCE_RECREATION or REPARENT_HINT_BECOMES_VISIBLE.Implements com. |
| public final void | requestFocus()
Implements com. The request is handled on this Window EDT and blocked until finished. |
| public final void | requestFocus(final boolean
true if waiting until the request is executed, otherwise false wait)Implements com. The request is handled on this Window EDT. |
| private void | |
| protected abstract void | requestFocusImpl(boolean
if true, bypass force)focusChanged(boolean, boolean) and force focus requestAsync request which shall be performed within |
| private void | |
| protected void | |
| pack-priv final void | |
| public final void | runOnEDTIfAvail(final boolean wait, final Runnable task)
Implements com. |
| public void | sendKeyEvent(final short eventType, final int modifiers, final short keyCode, final short keySym, final char keyChar)
|
| public final void | sendMouseEvent(final short eventType, final int modifiers, final int x, final int y, final short button, final float rotation)
|
| protected final void | sendMouseEventRequestFocus(final short eventType, final int modifiers, final int x, final int y, final short button, final float rotation)
Triggered by implementation. |
| public final void | sendWindowEvent(final int
a eventType)WindowEvent type, e.g. WindowEvent#EVENT_WINDOW_REPAINT.Implements com. WindowEvent to all WindowListener.
|
| public final void | setAlwaysOnBottom(final boolean value)
Implements com. Operation is ignored if this instance |
| public final void | setAlwaysOnTop(final boolean value)
Implements com. Operation is ignored if this instance |
| protected final void | |
| public final CapabilitiesChooser | setCapabilitiesChooser(final CapabilitiesChooser
the new CapabilitiesChooser chooser)Implements com. |
| public final WindowClosingProtocol. | setDefaultCloseOperation(final WindowClosingProtocol.
the new close operation value opImplements com. |
| public final void | setDefaultGesturesEnabled(final boolean enable)
Implements com. GestureHandler.
|
| public final void | setFocusAction(final Window.
Implements com. FocusRunnable,
which FocusRunnable#run() method is executed before the native focus is requested.
|
| public boolean | setFullscreen(final boolean
enable or disable fullscreen mode fullscreen)Implements com. |
| public boolean | setFullscreen(final List<MonitorDevice>
if monitors)null fullscreen will be spanned across all MonitorDevices,
otherwise across the given list of MonitorDevice.Implements com. MonitorDevices
or across all MonitorDevices.
|
| private boolean | setFullscreenImpl(final boolean fullscreen, final boolean useMainMonitor, final List<MonitorDevice> monitors)
|
| protected final void | |
| public final void | setKeyboardFocusHandler(final KeyListener l)
Implements com. KeyListener allowing focus traversal with a covered window toolkit like AWT.
|
| public final void | setKeyboardVisible(final boolean visible)
Implements com. visible is true
or false.
|
| protected boolean | setKeyboardVisibleImpl(final boolean visible)
Returns |
| protected final boolean | Returns: the previous pressed valuethe keyCode to set pressed state keyCode, final boolean true if pressed, otherwise false pressed)
|
| public final WindowImpl. | |
| public final void | setMaximized(boolean horz, boolean vert)
Implements com. Operation is ignored if this instance |
| private boolean | setOffscreenPointerIcon(final PointerIconImpl
the pi)PointerIconImpl instance, if null PointerIcon gets reset.Helper method to delegate Note JAWTWindow is an OffscreenLayerSurface. |
| private boolean | setOffscreenPointerVisible(final boolean
true for visible, otherwise invisible. pointerVisible, final PointerIconImpl default PointerIcon for visibility defaultPointerIcon)Helper method to delegate |
| public final void | setPointerIcon(final Display.
Valid piPointerIcon reference or null to reset the pointer icon to default.Implements com. |
| protected void | |
| private void | |
| public final void | setPointerVisible(final boolean
defaults to pointerVisible)true for platforms w/ visible pointer,
otherwise defaults to true, eg. Android.Implements com. |
| protected boolean | |
| private boolean | |
| public void | setPosition(final int
coord of the client-area's top left corner in window units x, final int coord of the client-area's top left corner in window units y)Implements com. |
| public final void | setResizable(final boolean value)
Implements com. Operation is ignored if this instance |
| protected void | |
| private void | |
| public final void | setSize(final int
of the window's client area in window units width, final int of the window's client area in window units height)Implements com. |
| public final void | setSticky(final boolean value)
Implements com. Operation is ignored if this instance |
| public boolean | setSurfaceScale(final float[]
requested surface pixel scale float[2] values for x- and y-direction. pixelScale)Implements com. NativeSurface,
where size_in_pixel_units = pixel_scale * size_in_window_units.
|
| public final void | setSurfaceSize(final int
of the window's client area in pixel units pixelWidth, final int of the window's client area in pixel units pixelHeight)Implements com. |
| public final void | |
| protected void | |
| public final void | setTopLevelPosition(final int
coord of the top-level left corner in window units x, final int coord of the top-level left corner in window units y)Implements com. |
| public final void | setTopLevelSize(final int
of the top-level window area in window units width, final int of the top-level window area in window units height)Implements com. |
| public final void | |
| public final void | setVisible(final boolean wait, final boolean visible)
Implements com. setVisible(..) makes the window and children visible if visible is true,
otherwise the window and children becomes invisible.
|
| public final void | setVisible(final boolean visible)
Implements com. setVisible(true, visible),
i.e. blocks until the window becomes visible.
|
| pack-priv final void | |
| protected final void | setVisibleImpl(final boolean visible, final boolean
true hints that the WM shall be skiped (no animation)client-area position in window units, or <0 if unchanged x, final int client-area position in window units, or <0 if unchanged y, final int client-area size in window units, or <=0 if unchanged width, final int client-area size in window units, or <=0 if unchanged height)
|
| public final void | setWindowDestroyNotifyAction(final Runnable r)
Implements com. toolkit triggered window destroy
replacing the default destroy() action.
|
| protected final void | |
| private final void | |
| public static final void | |
| protected void | sizeChanged(final boolean defer, final int newWidth, final int newHeight, final boolean force)
Triggered by implementation's WM events to update the client-area size in window units w/o insets/decorations. |
| protected final void | sizePosInsetsFocusVisibleChanged(final boolean defer, final int newX, final int newY, final int newWidth, final int newHeight, final int
insets, -1 ignored left, final int insets, -1 ignored right, final int insets, -1 ignored top, final int insets, -1 ignored bottom, final int -1 ignored, 0 unfocused, > 0 focused focusChange, final int -1 ignored, 0 invisible, > 0 visible visibleChange, final boolean force)Triggered by implementation's WM events to update the client-area position, size, insets and maximized flags. |
| protected final void | sizePosMaxInsetsVisibleChanged(final boolean defer, final int newX, final int newY, final int newWidth, final int newHeight, final int
-1 ignored, 0 !maximized, > 0 maximized maxHorzChange, final int -1 ignored, 0 !maximized, > 0 maximized maxVertChange, final int insets, -1 ignored left, final int insets, -1 ignored right, final int insets, -1 ignored top, final int insets, -1 ignored bottom, final int -1 ignored, 0 invisible, > 0 visible visibleChange, final boolean force)Triggered by implementation's WM events to update the client-area position, size, insets and maximized flags. |
| private static int | |
| public boolean | surfaceSwap()
Implements com. |
| public final void | surfaceUpdated(final Object
is the caller object who updated the surface,
e.g. a JOGL GLDrawable. updater, final NativeSurface the updated NativeSurface ns, final long the time in ms, when the surface was updated when)Implements com. |
| public static String | |
| public static String | |
| public final String | |
| public final void | unlockSurface()
Implements com. lockSurface()
The implementation shall also invoke |
| protected void | |
| private boolean | |
| private static int | |
| protected final void | visibleChanged(final boolean defer, final boolean visible)
Triggered by implementation's WM events to update the visibility state. |
| protected final void | visibleChangedSendMouseEvent(final boolean defer, final int
-1 ignored, 0 invisible, > 0 visible visibleChange, final short 0 ignored, > 0 [send|enqueue]MouseEvent eventType, final int modifiers, final int x, final int y, final short button, final float rotation)Triggered by implementation's WM events to update the visibility state and send- or enqueue one mouse event |
| protected final void | visibleChangedWindowRepaint(final boolean
if true sent event later, otherwise wait until processed. defer, final int -1 ignored, 0 invisible, > 0 visible visibleChange, final int dirty-region y-pos in pixel units x, final int dirty-region x-pos in pixel units y, final int dirty-region width in pixel units width, final int dirty-region height in pixel units height)Triggered by implementation's WM events to update the content |
| private boolean | waitForPosition(final boolean useCustomPosition, final int x, final int y, final long timeOut)
Wait until position is reached within tolerances, either auto-position or custom position. |
| private boolean | |
| private long | waitForVisible(final boolean visible, final boolean failFast)
Returns -1 if failed, otherwise remaining time until |
| private long | waitForVisible(final boolean visible, final boolean failFast, final long timeOut)
Returns -1 if failed, otherwise remaining time until |
| public final void | warpPointer(final int
relative pointer x position within this window in pixel units x, final int relative pointer y position within this window in pixel units y)Implements com. |
| protected void | |
| public final boolean | Returns: true if this window is no more valid and hence has been destroyed, otherwise false.if true, overrides force)setDefaultCloseOperation(WindowClosingMode) with WindowClosingProtocol#DISPOSE_ON_CLOSE
and hence force destruction. Otherwise is follows the user settings.Triggered by implementation's WM events or programmatic while respecting |
| public final void | windowRepaint(final int
dirty-region y-pos in pixel units x, final int dirty-region x-pos in pixel units y, final int dirty-region width in pixel units width, final int dirty-region height in pixel units height)Implements com. |
| protected final void | windowRepaint(final boolean
if true sent event later, otherwise wait until processed. defer, final int dirty-region y-pos in pixel units x, final int dirty-region x-pos in pixel units y, int dirty-region width in pixel units width, int dirty-region height in pixel units height)Triggered by implementation's WM events to update the content |