|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.application.Basic
public class Basic
Base class for all non GUI qooxdoo applications.
The main()
method will be called on the document.onload event,
close()
on document.beforeunload and terminate()
on document.unload.
Constructor Summary | |
---|---|
Basic()
|
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. |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Basic()
Method Detail |
---|
public 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.
close
in interface IApplication
public void main()
Called in the document.onload event of the browser. This method should implement the setup code of the application.
main
in interface IApplication
public 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.
terminate
in interface IApplication
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |