TV-Browser 3.3.3 API

util.ui
Class UIThreadRunner

java.lang.Object
  extended by util.ui.UIThreadRunner

public class UIThreadRunner
extends java.lang.Object

run the given runnables always in the UI thread, regardless of calling thread

Author:
Bananeweizen

Constructor Summary
UIThreadRunner()
           
 
Method Summary
static void invokeAndWait(java.lang.Runnable runnable)
           
static void invokeLater(java.lang.Runnable runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIThreadRunner

public UIThreadRunner()
Method Detail

invokeAndWait

public static void invokeAndWait(java.lang.Runnable runnable)
                          throws java.lang.InterruptedException,
                                 java.lang.reflect.InvocationTargetException
Throws:
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException

invokeLater

public static void invokeLater(java.lang.Runnable runnable)

TV-Browser 3.3.3 API

TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)