WindowHandle

Inheritance: java.lang.Object

public class WindowHandle

Gestionnaire de fenêtre encapsulé pour différentes plateformes.

Méthodes

MéthodeDescription
equals(Object arg0)
fromWayland(long display, long surface)Créer WindowHandle à partir d’une surface Wayland
fromWin32(long hWnd)L’instance native HWND dans l’environnement Windows.
fromXlib(long display, long window)Créer WindowHandle à partir d’une fenêtre Xlib
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
arg0java.lang.Object

Returns: boolean

fromWayland(long display, long surface)

public static WindowHandle fromWayland(long display, long surface)

Créer WindowHandle à partir d’une surface Wayland

Parameters:

ParamètreTypeDescription
affichagelongL’instance d’affichage du serveur Wayland
surfacelongLe handle de la surface

Returns: WindowHandle

fromWin32(long hWnd)

public static WindowHandle fromWin32(long hWnd)

L’instance native HWND dans l’environnement Windows.

Parameters:

ParamètreTypeDescription
hWndlongLe handle de la fenêtre native Win32

Returns: WindowHandle

fromXlib(long display, long window)

public static WindowHandle fromXlib(long display, long window)

Créer WindowHandle à partir d’une fenêtre Xlib

Parameters:

ParamètreTypeDescription
affichagelongL’instance d’affichage du serveur X
fenêtrelongLe handle de la fenêtre

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:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int