MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / invokeAndBlock

Method invokeAndBlock

CodenameOne/src/com/codename1/ui/CN.java:385–387  ·  view source on GitHub ↗
(Runnable r)

Source from the content-addressed store, hash-verified

383 ///
384 /// - `r`: runnable (NOT A THREAD!) that will be invoked synchroniously by this method
385 public static void invokeAndBlock(Runnable r) {
386 Display.INSTANCE.invokeAndBlock(r);
387 }
388
389 /// Invokes a Runnable with blocking disabled. If any attempt is made to block
390 /// (i.e. call `#invokeAndBlock(java.lang.Runnable)` from inside this Runnable,

Callers 15

showDialogMethod · 0.95
runTestsMethod · 0.95
runTestMethod · 0.95
runTestMethod · 0.95
requestFullScreenMethod · 0.95
exitFullScreenMethod · 0.95
confirmDialogMethod · 0.95
waitWhileSeekingMethod · 0.95
requireOrderedMethod · 0.95

Calls

no outgoing calls

Tested by 15

runTestsMethod · 0.76
runTestMethod · 0.76
runTestMethod · 0.76
fetchPropertyDataMethod · 0.76
sendPushMethod · 0.76
waitForConnectionMethod · 0.76
waitForMethod · 0.36
waitForFormTitleMethod · 0.36
waitForFormNameMethod · 0.36
waitForUnnamedFormMethod · 0.36
runTestMethod · 0.36