MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / process

Method process

src/javajs/async/AsyncDialog.java:275–281  ·  view source on GitHub ↗

Return for confirm dialog. @param ret may be JavaScript NaN, testable as ret != ret or ret != - -ret

(int ret)

Source from the content-addressed store, hash-verified

273 * @param ret may be JavaScript NaN, testable as ret != ret or ret != - -ret
274 */
275 private void process(int ret) {
276 if (ret != -(-ret) || processed)
277 return;
278 processed = true;
279 choice = ret;
280 actionListener.actionPerformed(new ActionEvent(this, ret, "SelectedOption"));
281 }
282
283 private void process(Object ret) {
284 if (ret instanceof UIResource || processed)

Callers 5

showInputDialogMethod · 0.95
showMessageDialogMethod · 0.95
showOptionDialogMethod · 0.95
showConfirmDialogMethod · 0.95
propertyChangeMethod · 0.95

Calls 2

actionPerformedMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected