WindowHandle
Inheritance: java.lang.Object
public class WindowHandle
Encapsulated window handle for different platforms.
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
fromWayland(long display, long surface)
public static WindowHandle fromWayland(long display, long surface)
Create WindowHandle from a Wayland surface
Parameters:
| Parameter | Type | Description |
|---|---|---|
| display | long | The display instance of Wayland server |
| surface | long | The handle of the surface |
Returns: WindowHandle
fromWin32(long hWnd)
public static WindowHandle fromWin32(long hWnd)
The native HWND instance in Windows environment.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| hWnd | long | The 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:
| Parameter | Type | Description |
|---|---|---|
| display | long | The display instance of the X server |
| window | long | The 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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |