qx.application
Interface IApplication

All Known Implementing Classes:
Basic, Gui

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

close

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.


main

void main()

Called in the document.onload event of the browser. This method should implement the setup code of the application.


terminate

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.



Copyright © 2008 1&1. All Rights Reserved.