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

Method timer

CodenameOne/src/com/codename1/ui/util/UITimer.java:71–75  ·  view source on GitHub ↗
(int timeMillis, boolean repeat, Form parent, Runnable r)

Source from the content-addressed store, hash-verified

69 ///
70 /// the timer instance
71 public static UITimer timer(int timeMillis, boolean repeat, Form parent, Runnable r) {
72 UITimer uit = new UITimer(r);
73 uit.schedule(timeMillis, repeat, parent);
74 return uit;
75 }
76
77 /// Convenience method to schedule a UITimer more easily on the current form
78 ///

Callers 15

setTimeoutMethod · 0.95
checkProgressSliderMethod · 0.95
executeMethod · 0.95
startEditingAsyncMethod · 0.95
runMethod · 0.95
advanceMethod · 0.95
finishSuiteMethod · 0.95
runAppMethod · 0.95
runScriptMethod · 0.95
scheduleAutoRunMethod · 0.95
initWebsiteThemeSyncMethod · 0.95

Calls 3

scheduleMethod · 0.95
getInstanceMethod · 0.95
getCurrentMethod · 0.45

Tested by 15

registerReadyCallbackMethod · 0.76
registerReadyCallbackMethod · 0.76
awaitTilesThenRunMethod · 0.76
registerReadyCallbackMethod · 0.76
registerReadyCallbackMethod · 0.76
registerReadyCallbackMethod · 0.76
runMethod · 0.76
registerReadyCallbackMethod · 0.76
registerReadyCallbackMethod · 0.76
maybeSettleMethod · 0.76
runCancelScenarioMethod · 0.76