Class Kaariboga.FireEventThread

All Implemented Interfaces:
Enclosing class:

class Kaariboga.FireEventThread
extends java.lang.Thread

Fires kaariboga events to the kaaribogaListener. This thread is needed to fire events in an asynchronous way. Asynchronous event firering should be done because result of an event could be destruction of the kaariboga. Also some reactions to these events could be time consuming.

See Also:
Serialized Form

Field Summary
private  KaaribogaEvent event
          The event that has to be fired.
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
Constructor Summary
Kaariboga.FireEventThread(KaaribogaEvent e)
Method Summary
 void run()
          Checks the events id and calls the appropriate method of the event listener.
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


private KaaribogaEvent event
The event that has to be fired.
Constructor Detail


public Kaariboga.FireEventThread(KaaribogaEvent e)
e - The event that has to be fired.
Method Detail


public void run()
Checks the events id and calls the appropriate method of the event listener.
run in class java.lang.Thread