MockUIThreadHandler (Griffon 0.9.5-rc2)
Date: 2012-03-09

Overview | Package | Class | Deprecated | Index | Help
| Griffon 0.9.5-rc2
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## griffon.test.mock
[Java] Class MockUIThreadHandler

    java.lang.Object
      griffon.test.mock.MockUIThreadHandler

All Implemented Interfaces:
  UIThreadHandler

    public class MockUIThreadHandler

Trivial implementation of `UIThreadHandler` that runs code in the same thread as the caller.

Authors:
  Andres Almiray

Constructor Summary
`MockUIThreadHandler()`

Method Summary
`void` | `executeAsync(Runnable runnable)`
`void` | `executeOutside(Runnable runnable)`
`void` | `executeSync(Runnable runnable)`
`boolean` | `isUIThread()`

Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Constructor Detail

### MockUIThreadHandler

    MockUIThreadHandler()

Method Detail

### executeAsync

    public void executeAsync(Runnable runnable)

### executeOutside

    public void executeOutside(Runnable runnable)

### executeSync

    public void executeSync(Runnable runnable)

### isUIThread

    public boolean isUIThread()

Groovy Documentation