r19141: add a reasonable subset of the qooxdoo runtime environment, and example appli...
[jra/samba/.git] / swat / apps / qooxdoo-examples / test / Compile_2.html
1 <html>
2 <head>
3   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4   <title>qooxdoo &raquo; Demo</title>
5   <link type="text/css" rel="stylesheet" href="../../resource/css/layout.css"/>
6   <!--[if IE]>
7   <link type="text/css" rel="stylesheet" href="../../resource/css/layout_ie.css"/>
8   <![endif]-->
9   <script type="text/javascript" src="../../script/qx.js"></script>
10 </head>
11 <body>
12   <script type="text/javascript" src="../../script/layout.js"></script>
13
14   <div id="demoDescription">
15   </div>
16
17   <div style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: normal; cursor: default; background-color: buttonface; -moz-border-left-colors: 37 36; -moz-border-right-colors: 34 38; -moz-border-top-colors: 37 36; -moz-border-bottom-colors: 34 38; width: 102px; height: 42px; left: 20px; top: 50px;" class="QxWidgetCore qx.ui.form.Button" qxhashcode="74"><div qxhashcode="78" title="" class="QxWidgetCore qx.ui.basic.Image" style="-moz-user-select: none; left: 4px; top: 3px;"><img src="../../image/icons/crystalsvg/32/penguin.png" height="32" width="32"></div><div qxhashcode="77" class="QxWidgetCore qx.ui.basic.Label" style="-moz-user-select: none; left: 40px; top: 13px;">Hello World</div></div><div style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: normal; cursor: default; background-color: buttonface; -moz-border-left-colors: 37 36; -moz-border-right-colors: 34 38; -moz-border-top-colors: 37 36; -moz-border-bottom-colors: 34 38; width: 102px; height: 42px; left: 220px; top: 50px;" class="QxWidgetCore qx.ui.form.Button" qxhashcode="86"><div qxhashcode="90" title="" class="QxWidgetCore qx.ui.basic.Image" style="-moz-user-select: none; left: 4px; top: 3px;"><img src="../../image/icons/crystalsvg/32/appearance.png" height="32" width="32"></div><div qxhashcode="89" class="QxWidgetCore qx.ui.basic.Label" style="-moz-user-select: none; left: 40px; top: 13px;">Hello World</div></div>
18   <script type="text/javascript" src="cssQuery-p.js"></script>
19   <script type="text/javascript" src="Compile_2.js"></script>
20
21   <script type="text/javascript">
22     qx.core.Init.getInstance().defineInitialize(function()  //window.application.pre = function()
23     {
24       qx.core.Init.getInstance().debug("Pre-Execute");
25       qx.core.Init.getInstance().debug("Object DB Length: " + qx.core.Object._db.length);
26     });
27
28     qx.core.Init.getInstance().defineFinalize(function()  //window.application.post = function()
29     {
30       qx.core.Init.getInstance().debug("Post-Execute");
31
32       qx.core.Init.getInstance().debug("Children: " + $0.getChildren());
33       qx.core.Init.getInstance().debug("Element: " + $0.getElement());
34       qx.core.Init.getInstance().debug("Parent: " + $0.getParent());
35       qx.core.Init.getInstance().debug("Box Width: " + $0.getBoxWidth());
36       qx.core.Init.getInstance().debug("Has Mouse Down Event: " + $0.hasEventListeners("mousedown"));
37       qx.core.Init.getInstance().debug("Icon Preferred Width: " + $0.getChildren()[0].getPreferredBoxWidth());
38
39       qx.core.Init.getInstance().debug("Object DB Length: " + qx.core.Object._db.length);
40
41       $0.setIconPosition("top");
42       qx.ui.core.Widget.flushGlobalQueues();
43     });
44   </script>
45 </body>
46 </html>