Package editor
Class GosuEventQueue
- java.lang.Object
-
- editor.util.ModalEventQueue
-
- editor.GosuEventQueue
-
- All Implemented Interfaces:
java.lang.Runnable
class GosuEventQueue extends ModalEventQueue
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Runnable>_idleListenersprivate long_lErrMsgTimeprivate static GosuEventQueueINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateGosuEventQueue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIdleListener(java.lang.Runnable l)protected voidexecuteIdleTasks()protected voidhandleUncaughtException(java.lang.Throwable t)static GosuEventQueueinstance()booleanremoveIdleListener(java.lang.Runnable l)-
Methods inherited from class editor.util.ModalEventQueue
dispatchEvent, isModal, run
-
-
-
-
Field Detail
-
INSTANCE
private static GosuEventQueue INSTANCE
-
_lErrMsgTime
private long _lErrMsgTime
-
_idleListeners
private final java.util.List<java.lang.Runnable> _idleListeners
-
-
Method Detail
-
instance
public static GosuEventQueue instance()
-
addIdleListener
public void addIdleListener(java.lang.Runnable l)
-
removeIdleListener
public boolean removeIdleListener(java.lang.Runnable l)
-
handleUncaughtException
protected void handleUncaughtException(java.lang.Throwable t)
- Overrides:
handleUncaughtExceptionin classModalEventQueue
-
executeIdleTasks
protected void executeIdleTasks()
- Overrides:
executeIdleTasksin classModalEventQueue
-
-