roboguice.util
Class RoboLooperThread

java.lang.Object
  extended by java.lang.Thread
      extended by roboguice.util.RoboLooperThread
All Implemented Interfaces:
Runnable

public class RoboLooperThread
extends Thread

An extension of RoboThread which adds a Looper. This allows other threads to post runnables to this thread, much like the main UI thread. Useful for testing. Has the same limitations as RoboThread.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RoboLooperThread()
           
RoboLooperThread(Runnable runnable)
           
 
Method Summary
 void start()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoboLooperThread

public RoboLooperThread()

RoboLooperThread

public RoboLooperThread(Runnable runnable)
Method Detail

start

public void start()
Overrides:
start in class Thread


Copyright © 2011. All Rights Reserved.