|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.input.impl.lwjgl.LWJGLMessageProcessor
public class LWJGLMessageProcessor
If you want special control over LWJGL's processMessages() call, which is quite expensive on Linux, you can use this class'es static methods.
| Constructor Summary | |
|---|---|
LWJGLMessageProcessor()
|
|
| Method Summary | |
|---|---|
static void |
allowOneUpdate()
This method increases the count of allowed calls to LWJGL's processMessages() method. |
static void |
allowUpdateAlways()
Resets the number of allowed calls to LWJGL's processMessages() method to unlimited. |
static boolean |
isMessageProcessingEnabled()
|
static void |
setMessageProcessingEnabled(boolean enabled)
This enables/disables the call to processMessages() (from within the InputSystem) generally. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LWJGLMessageProcessor()
| Method Detail |
|---|
public static final void setMessageProcessingEnabled(boolean enabled)
allowOneUpdate() was called
and allowUpdateAlways() wasn't after it.
enabled - public static final boolean isMessageProcessingEnabled()
allowOneUpdate() was called
and allowUpdateAlways() wasn't after it.public static final void allowOneUpdate()
isMessageProcessingEnabled()
is false.
public static final void allowUpdateAlways()
isMessageProcessingEnabled()
is false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||