Description
Used to specify scripts to call when Application object events occur.
Diagram
Overview
![](xsdimages/element.png) |
APPLICATION
Used to specify scripts to call when Application object events occur.
![](xsdimages/attributeref.png) |
onexevent optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
onpower optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
onpreferenceschanged optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
onshutdown optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
onstartup optional xs:string
Specify the script to run when this event occurs.
|
![](xsdimages/attributeref.png) |
ontimer optional xs:string
Specify the script to run when this event occurs.
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
onexevent | xs:string | optional | | | Specify the script to run when this event occurs. |
onpower | xs:string | optional | | | Specify the script to run when this event occurs. |
onpreferenceschanged | xs:string | optional | | | Specify the script to run when this event occurs. |
onshutdown | xs:string | optional | | | Specify the script to run when this event occurs. |
onstartup | xs:string | optional | | | Specify the script to run when this event occurs. |
ontimer | xs:string | optional | | | Specify the script to run when this event occurs. |
Remarks
Examples
Applet with one toolbar and no forms
Source
<xs:element name="APPLICATION" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to specify scripts to call when Application object events occur.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute ref="onexevent" />
<xs:attribute ref="onpower" />
<xs:attribute ref="onpreferenceschanged" />
<xs:attribute ref="onshutdown" />
<xs:attribute ref="onstartup" />
<xs:attribute ref="ontimer" />
</xs:complexType>
</xs:element>
|
See Also