javax.rad.util
Class UIInvoker

java.lang.Object
  extended by javax.rad.util.UIInvoker

public class UIInvoker
extends Object

The UIInvoker class is bound to the current UI factory and is able to execute calls in the right UI thread via invokeLater of the factory.


Constructor Summary
UIInvoker()
          Creates a new instance of UIInvoker for thread safety.
 
Method Summary
 void invokeLater(Runnable pRunnable)
          Causes pRunnable.run() to be executed asynchronously on the current event dispatching thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIInvoker

public UIInvoker()
Creates a new instance of UIInvoker for thread safety.

Method Detail

invokeLater

public void invokeLater(Runnable pRunnable)
Causes pRunnable.run() to be executed asynchronously on the current event dispatching thread. There are different technologies with different invokeLater implementations. To find the UI dependent method the current factory manager will be used. If there is no factory manager, then the pRunnable.run() will be started within the current thread.

Parameters:
pRunnable - specific functionality to run asynchronous


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.