org.licas.util

## Class ThreadHandler

- java.lang.Object
- - org.licas.util.ThreadHandler

-     public class ThreadHandler
      extends java.lang.Object

  This class can be used to handle some thread specific problems, related to invoking waiting GUI events. If the operating system is specified as 'Android' - `System.setProperty('type.os', Const.ANDROID);` then the event queue is switched off.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ThreadHandler()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `notifyAllEvents()` This can be used to notify the next event on the event dispatch thread to execute.
    `static void` | `notifyEvents()` This can be used to notify the next event on the event dispatch thread to execute.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ThreadHandler

          public ThreadHandler()

  - ### Method Detail

    - #### notifyEvents

          public static void notifyEvents()
                                   throws java.lang.Exception

      This can be used to notify the next event on the event dispatch thread to execute. This does not include some GUI update events, but only the running thread events.
      Throws:
        `java.lang.Exception` - any error.

    - #### notifyAllEvents

          public static void notifyAllEvents()

      This can be used to notify the next event on the event dispatch thread to execute. This includes all events, including the GUI update events.