|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IApplication
This interface is required by all qooxdoo applications set by
Init.application
.
The main()
method will be called on the document.onload event,
close()
on document.beforeunload and terminate()
on document.unload.
Method Summary | |
---|---|
java.lang.String |
close()
Called in the document.beforeunload event of the browser. |
void |
main()
Called in the document.onload event of the browser. |
void |
terminate()
Called in the document.onunload event of the browser. |
Method Detail |
---|
java.lang.String close()
Called in the document.beforeunload event of the browser. If the method returns a string value, the user will be asked by the browser, whether he really wants to leave the page. The return string will be displayed in the message box.
void main()
Called in the document.onload event of the browser. This method should implement the setup code of the application.
void terminate()
Called in the document.onunload event of the browser. This method contains the last code which is run inside the page and may contain cleanup code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |