blob: 423321e56a82e50a3b9ec8a551d82f658d8617f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright (c) 2010, Isode Limited, London, England.
* All rights reserved.
*/
package com.isode.stroke.eventloop;
/**
* Don't use this, it simply runs the callback in the same thread.
* It is useful for unit testing, but will break GUIs.
*/
public class SimpleEventLoop extends EventLoop {
@Override
protected void post(Event event) {
handleEvent(event);
}
}
|