MCPcopy Create free account
hub / github.com/HumbleUI/JWM / runOnUIThread

Method runOnUIThread

shared/java/App.java:77–82  ·  view source on GitHub ↗

Enqueue callback function to run on application UI thread. This is the only method, which can be access from any thread if other is not specified. Use this method to access UI thread and safely perform user-specific work and access JWM API. @param callback function for executi

(Runnable callback)

Source from the content-addressed store, hash-verified

75 * @param callback function for execution on UI thread
76 */
77 public static void runOnUIThread(Runnable callback) {
78 if (_onUIThread())
79 callback.run();
80 else
81 _nRunOnUIThread(callback);
82 }
83
84 /**
85 * <p>Get desktop environment screens configurations.</p>

Callers 4

requestFrameMethod · 0.95
requestFrameMethod · 0.95
runMethod · 0.95
requestFrameMethod · 0.95

Calls 3

_onUIThreadMethod · 0.95
_nRunOnUIThreadMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected