WindowHandle

Inheritance: java.lang.Object

public class WindowHandle

针对不同平台的封装窗口句柄。

方法

方法描述
equals(Object arg0)
fromWayland(long display, long surface)从 Wayland 表面创建 WindowHandle
fromWin32(long hWnd)Windows 环境中的本机 HWND 实例。
fromXlib(long display, long window)从 Xlib 窗口创建 WindowHandle
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: 布尔

fromWayland(long display, long surface)

public static WindowHandle fromWayland(long display, long surface)

从 Wayland 表面创建 WindowHandle

Parameters:

参数类型描述
显示longWayland 服务器的显示实例
表面long表面的句柄

Returns: WindowHandle

fromWin32(long hWnd)

public static WindowHandle fromWin32(long hWnd)

Windows 环境中的本机 HWND 实例。

Parameters:

参数类型描述
hWndlong本机 Win32 窗口的句柄

Returns: WindowHandle

fromXlib(long display, long window)

public static WindowHandle fromXlib(long display, long window)

从 Xlib 窗口创建 WindowHandle

Parameters:

参数类型描述
显示longX 服务器的显示实例
窗口long窗口的句柄

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:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int