javax.rad.util
Class UIInvoker

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

public class UIInvoker
extends java.lang.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(java.lang.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(java.lang.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.