summaryrefslogtreecommitdiff
path: root/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/test/Compile_2.html
blob: 472c237945e7ff25a367b7420eaf14a37f9af952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>qooxdoo &raquo; Demo</title>
  <link type="text/css" rel="stylesheet" href="../../resource/css/layout.css"/>
  <!--[if IE]>
  <link type="text/css" rel="stylesheet" href="../../resource/css/layout_ie.css"/>
  <![endif]-->
  <script type="text/javascript" src="../../script/qx.js"></script>
</head>
<body>
  <script type="text/javascript" src="../../script/layout.js"></script>

  <div id="demoDescription">
  </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: 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>
  <script type="text/javascript" src="cssQuery-p.js"></script>
  <script type="text/javascript" src="Compile_2.js"></script>

  <script type="text/javascript">
    qx.core.Init.getInstance().defineInitialize(function()  //window.application.pre = function()
    {
      qx.core.Init.getInstance().debug("Pre-Execute");
      qx.core.Init.getInstance().debug("Object DB Length: " + qx.core.Object._db.length);
    });

    qx.core.Init.getInstance().defineFinalize(function()  //window.application.post = function()
    {
      qx.core.Init.getInstance().debug("Post-Execute");

      qx.core.Init.getInstance().debug("Children: " + $0.getChildren());
      qx.core.Init.getInstance().debug("Element: " + $0.getElement());
      qx.core.Init.getInstance().debug("Parent: " + $0.getParent());
      qx.core.Init.getInstance().debug("Box Width: " + $0.getBoxWidth());
      qx.core.Init.getInstance().debug("Has Mouse Down Event: " + $0.hasEventListeners("mousedown"));
      qx.core.Init.getInstance().debug("Icon Preferred Width: " + $0.getChildren()[0].getPreferredBoxWidth());

      qx.core.Init.getInstance().debug("Object DB Length: " + qx.core.Object._db.length);

      $0.setIconPosition("top");
      qx.ui.core.Widget.flushGlobalQueues();
    });
  </script>
</body>
</html>