41package com.jogamp.nativewindow;
43import com.jogamp.nativewindow.util.InsetsImmutable;
44import com.jogamp.nativewindow.util.Point;
45import com.jogamp.nativewindow.util.Rectangle;
Accessor interface for implementing classes with ownership of a NativeSurface via an is-a or has-a re...
Provides low-level information required for hardware-accelerated rendering using a surface in a platf...
Extend the NativeSurface interface with windowing information such as window-handle,...
NativeSurface getNativeSurface()
Returns the associated NativeSurface of this NativeSurfaceHolder.
void destroy()
Destroys this window incl.
int getHeight()
Returns the height of the client area excluding insets (window decorations) in window units.
Rectangle getSurfaceBounds()
Returns a newly created Rectangle containing window's surface origin and size in pixel units.
Point getLocationOnScreen(Point point)
Returns the window's top-left client-area position in the screen.
boolean hasFocus()
Returns true if this native window owns the focus, otherwise false.
int getY()
Returns the current y position of the top-left corner of the client area relative to it's parent in w...
Rectangle getBounds()
Returns a newly created Rectangle containing window origin, getX() & getY(), and size,...
InsetsImmutable getInsets()
Returns the insets defined as the width and height of the window decoration on the left,...
int getX()
Returns the current x position of this window, relative to it's parent.
int getWidth()
Returns the width of the client area excluding insets (window decorations) in window units.
long getWindowHandle()
Returns the window handle for this NativeWindow.
Immutable insets representing rectangular window decoration insets on all four edges in window units.