User32.dll.
| Modifier and Type | Class and Description |
|---|---|
| public static class | User32Util.MessageLoopThread
Helper class, that runs a windows message loop as a seperate thread. |
| Modifier and Type | Field and Description |
|---|---|
| public static final EnumSet | WIN32VK_MAPPABLE
Set of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final WinDef. | |
| public static final WinDef. | |
| public static final void | |
| public static final List | |
| public static String | Returns: the string located at the designated locationthe location, eg. %SystemRoot%\system32\input.dll,-5011 location)Load a string value from the string table of an executable. |
| public static final int |
| WIN32VK_MAPPABLE | back to summary |
|---|---|
| public static final EnumSet<Win32VK> WIN32VK_MAPPABLE Set of | |
| User32Util | back to summary |
|---|---|
| public User32Util() | |
| createWindow | back to summary |
|---|---|
| public static final WinDef. | |
| createWindowEx | back to summary |
|---|---|
| public static final WinDef. | |
| destroyWindow | back to summary |
|---|---|
| public static final void destroyWindow(final WinDef. | |
| GetRawInputDeviceList | back to summary |
|---|---|
| public static final List | |
| loadString | back to summary |
|---|---|
| public static String loadString(String location) throws UnsupportedEncodingException Load a string value from the string table of an executable. | |
| registerWindowMessage | back to summary |
|---|---|
| public static final int registerWindowMessage(final String lpString) | |
| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile long | |
| private static long | |
| private volatile int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | exit()
Hides java. |
| protected boolean | Returns: true if MainLoop should exit, false it it should resumeThe method is called from the thread, that run the message dispatcher,
when the call to |
| public void | run()
Overrides java. Implements java. |
| public <V> Future | |
| public <V> V |
| javaThreadId | back to summary |
|---|---|
| private volatile long javaThreadId | |
| messageLoopId | back to summary |
|---|---|
| private static long messageLoopId | |
| nativeThreadId | back to summary |
|---|---|
| private volatile int nativeThreadId | |
| workQueue | back to summary |
|---|---|
| private final List<FutureTask<V>> workQueue | |
| MessageLoopThread | back to summary |
|---|---|
| public MessageLoopThread() | |
| exit | back to summary |
|---|---|
| public void exit() Hides java. Doc from java. This method is called by the VM to give a Thread a chance to clean up before it actually exits. | |
| getMessageFailed | back to summary |
|---|---|
| protected boolean getMessageFailed() The method is called from the thread, that run the message dispatcher,
when the call to If the method returns Default behavior: The error code is logged to the com.sun.jna.platform.win32.User32Util.MessageLoopThread logger and the main loop exists.
| |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |
| runAsync | back to summary |
|---|---|
| public <V> Future | |
| runOnThread | back to summary |
|---|---|
| public <V> V runOnThread(Callable<V> callable) throws Exception | |
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(final Object
the proxy instance that the method was invoked on proxy, final Method the method, final Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. |
| delegate | back to summary |
|---|---|
| private final Object delegate | |
| Handler | back to summary |
|---|---|
| public Handler(Object delegate) | |
| invoke | back to summary |
|---|---|
| public Object invoke(final Object proxy, final Method method, final Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |