de.jreality.toolsystem
Class ToolEventQueue

java.lang.Object
  extended by de.jreality.toolsystem.ToolEventQueue

public class ToolEventQueue
extends java.lang.Object

TODO: check sync!

Author:
weissman

Constructor Summary
ToolEventQueue(ToolEventReceiver receiver)
           
 
Method Summary
 boolean addEvent(ToolEvent event)
          places the given event into the queue if queue was started already
 void dispose()
           
 java.lang.Thread getThread()
           
 void start()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolEventQueue

public ToolEventQueue(ToolEventReceiver receiver)
Method Detail

start

public void start()

addEvent

public boolean addEvent(ToolEvent event)
places the given event into the queue if queue was started already

Parameters:
event - the event to post
Returns:
true if the event was added false if not

dispose

public void dispose()

getThread

public java.lang.Thread getThread()