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

Method dispose

CodenameOne/src/com/codename1/ui/Dialog.java:1846–1858  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1844 /// Closes the current form and returns to the previous form, releasing the
1845 /// EDT in the process
1846 @Override
1847 public void dispose() {
1848 if (isDisposed()) {
1849 return;
1850 }
1851 setDisposed(true);
1852
1853 // the dispose parent method might send us back to the form while the command
1854 // within the dialog might be directing us to another form causing a "blip"
1855 if (!menu) {
1856 super.dispose();
1857 }
1858 }
1859
1860 /// Shows a modal dialog and returns the command pressed within the modal dialog
1861 ///

Callers 15

runMethod · 0.95
downloadUrlToMethod · 0.95
showWelcomeAdMethod · 0.95
sizeChangedInternalMethod · 0.95
actionCommandMethod · 0.95
isTimedOutMethod · 0.95
pointerReleasedMethod · 0.95
showCodeMethod · 0.95
showFacebookUserMethod · 0.95
showGoogleUserMethod · 0.95
captureAudioMethod · 0.95
onTestMethod · 0.95

Calls 3

isDisposedMethod · 0.95
setDisposedMethod · 0.95
disposeMethod · 0.65