Constructor and Description |
---|
Yield() |
Modifier and Type | Method and Description |
---|---|
static void |
forWhile(int duration)
Call readAndDispatch method of the current Display while the specified
duration
|
static void |
initialize()
Initialize method of this utility.
|
static void |
once()
Call readAndDispatch method of the current Display.
|
static Object |
syncInvoke(Method m,
Object o,
Object[] args)
Invoke method (m.invoke(o, args)) by using syncExec method of current
Display.
|
public static void initialize()
public static Object syncInvoke(Method m, Object o, Object[] args) throws Exception
public static void forWhile(int duration)
duration
- target duration in msecpublic static void once()
Display