|
|
(87 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | When you write a Rich UI application, the typical process is as follows:
| |
| | | |
− | * Create a Handler type of stereotype RUIHandler.
| |
− | * Declare the widgets and customize them.
| |
− | * Display a given widget by including it either in the '''initialUI''' array of the Rich UI handler or in the '''children''' array of another widget.
| |
− | * As appropriate, assign and code event handlers.
| |
− | * Write initialization code in the on-construction function.
| |
− |
| |
− | The Rich UI editor can handle several steps for you, and the order of steps 2-5 is flexible.
| |
− |
| |
− | = Create a Handler type of stereotype RUIHandler =
| |
− |
| |
− | <script lang="java">
| |
− |
| |
− | </script>
| |
− |
| |
− | = Declare the widgets and customize them =
| |
− |
| |
− | <script lang="java">
| |
− |
| |
− | </script>
| |
− |
| |
− | = Display a given widget =
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | <br> <br><br> ♦ [[EDT:Code snippets|Code snippets main page]] <br>
| |
− |
| |
− | [[Category:EDT]]
| |