diff options
Diffstat (limited to 'swat/apps/qooxdoo-examples/test/Compile_2.html')
-rw-r--r-- | swat/apps/qooxdoo-examples/test/Compile_2.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/swat/apps/qooxdoo-examples/test/Compile_2.html b/swat/apps/qooxdoo-examples/test/Compile_2.html new file mode 100644 index 0000000000..472c237945 --- /dev/null +++ b/swat/apps/qooxdoo-examples/test/Compile_2.html @@ -0,0 +1,46 @@ +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>qooxdoo » 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>
\ No newline at end of file |