WindowHandle

Inheritance: java.lang.Object

public class WindowHandle

Encapsulated window handle for different platforms.

Methods

MethodDescription
equals(Object arg0)
fromWayland(long display, long surface)Create WindowHandle from a Wayland surface
fromWin32(long hWnd)The native HWND instance in Windows environment.
fromXlib(long display, long window)Create WindowHandle from an Xlib window
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

fromWayland(long display, long surface)

public static WindowHandle fromWayland(long display, long surface)

Create WindowHandle from a Wayland surface

Parameters:

ParameterTypeDescription
displaylongThe display instance of Wayland server
surfacelongThe handle of the surface

Returns: WindowHandle

fromWin32(long hWnd)

public static WindowHandle fromWin32(long hWnd)

The native HWND instance in Windows environment.

Parameters:

ParameterTypeDescription
hWndlongThe handle of the native Win32 window

Returns: WindowHandle

fromXlib(long display, long window)

public static WindowHandle fromXlib(long display, long window)

Create WindowHandle from an Xlib window

Parameters:

ParameterTypeDescription
displaylongThe display instance of the X server
windowlongThe handle of the window

Returns: WindowHandle

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int