|
||||||||||
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.Gui
public class Gui
This is the base class for all GUI qooxdoo applications.
All applications using qooxdoo widgets should be derived from
this class. Normally at least the main()
method will
be overridden to define the GUI.
Constructor Summary | |
---|---|
Gui()
|
Method Summary | |
---|---|
void |
_postload()
Preload all remaining images. |
void |
_postloaderDone()
Callback which is called once the post loading is completed. |
void |
_preload()
Start pre loading of the initially visible images. |
void |
_preloaderDone()
Callback which is called once the pre loading of the required images is completed. |
java.lang.String |
close()
Called in the document.onbeforeunload event of the browser. |
boolean |
getUiReady()
Returns the (computed) value of the property uiReady . |
void |
initUiReady(boolean arg)
Calls the apply method and dispatches the change event of the property uiReady
with the default value defined by the class developer. |
boolean |
isUiReady()
Check whether the (computed) value of the boolean property uiReady equals true . |
void |
main()
Called in the document.onload event of the browser. |
void |
resetUiReady()
Resets the user value of the property uiReady . |
void |
setUiReady(boolean arg)
Sets the user value of the property uiReady . |
void |
terminate()
Called in the document.onunload event of the browser. |
boolean |
toggleUiReady()
Toggles the (computed) value of the boolean property uiReady . |
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 Gui()
Method Detail |
---|
public void _postload()
Preload all remaining images.
public void _postloaderDone()
Callback which is called once the post loading is completed.
public void _preload()
Start pre loading of the initially visible images.
public void _preloaderDone()
Callback which is called once the pre loading of the required images is completed.
public java.lang.String close()
Called in the document.onbeforeunload 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 boolean getUiReady()
Returns the (computed) value of the property uiReady
.
For further details take a look at the property definition: uiReady
.
public void initUiReady(boolean arg)
Calls the apply method and dispatches the change event of the property uiReady
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: uiReady
.
public boolean isUiReady()
Check whether the (computed) value of the boolean property uiReady
equals true
.
For further details take a look at the property definition: uiReady
.
public void main()
Called in the document.onload event of the browser. This method should be overridden to implement the GUI setup code of the application.
main
in interface IApplication
public void resetUiReady()
Resets the user value of the property uiReady
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: uiReady
.
public void setUiReady(boolean arg)
Sets the user value of the property uiReady
.
For further details take a look at the property definition: uiReady
.
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
public boolean toggleUiReady()
Toggles the (computed) value of the boolean property uiReady
.
For further details take a look at the property definition: uiReady
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |