diff options
author | Derrell Lipman <derrell@samba.org> | 2007-02-14 04:19:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:12 -0500 |
commit | b79bf0623235672684d7dd79dd7a6b202adfb35f (patch) | |
tree | 3154a686d000b754eb8ff63c25b29d879f8b48e9 /webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/example/Fsm_1/gui.js | |
parent | ecfbc670c2a641b1f18155af0ed9a6e49278185a (diff) | |
download | samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.tar.gz samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.tar.bz2 samba-b79bf0623235672684d7dd79dd7a6b202adfb35f.zip |
r21326: get rid of old qooxdoo version.
(This used to be commit 39a4803ad1046e2473bdc7b22321a5f61ae3a1ea)
Diffstat (limited to 'webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/example/Fsm_1/gui.js')
-rw-r--r-- | webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/example/Fsm_1/gui.js | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/example/Fsm_1/gui.js b/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/example/Fsm_1/gui.js deleted file mode 100644 index 0ba443a629..0000000000 --- a/webapps/qooxdoo-0.6.3-sdk/frontend/demo/source/html/example/Fsm_1/gui.js +++ /dev/null @@ -1,95 +0,0 @@ -function initGui(fsm) -{ - var o; - var d = qx.ui.core.ClientDocument.getInstance(); - - var vLayout = new qx.ui.layout.VerticalBoxLayout(); - vLayout.setTop(40); - vLayout.setLeft(20); - vLayout.setSpacing(4); - - vLayout.add(new qx.ui.basic.Label("URL:")); - var defaultURL = qx.io.remote.Rpc.makeServerURL(); - if (defaultURL == null) - { - defaultURL = "/services/"; - } - o = new qx.ui.form.TextField(defaultURL); - vLayout.add(o); - fsm.addObject("text_url", o); - - vLayout.add(new qx.ui.basic.Label("Service:")); - o = new qx.ui.form.TextField("qooxdoo.test"); - vLayout.add(o); - fsm.addObject("text_service", o); - - vLayout.add(new qx.ui.basic.Label("Method:")); - o = new qx.ui.form.TextField("sleep"); - vLayout.add(o); - fsm.addObject("text_method", o); - - var hLayout = new qx.ui.layout.HorizontalBoxLayout(); - hLayout.setHeight("auto"); - hLayout.setVerticalChildrenAlign("middle"); - hLayout.setSpacing(4); - - o = new qx.ui.form.TextField("2"); - o.setWidth(200); - hLayout.add(o); - fsm.addObject("text_message", o); - - o = new qx.ui.form.Button("Send to server"); - o.addEventListener("execute", fsm.eventListener, fsm); - hLayout.add(o); - fsm.addObject("button_send", o); - - o = new qx.ui.form.Button("Abort"); - o.setEnabled(false); - o.addEventListener("execute", fsm.eventListener, fsm); - hLayout.add(o); - fsm.addObject("button_abort", o); - - vLayout.add(hLayout); - - vLayout.add(new qx.ui.basic.Label("Result:")); - o = new qx.ui.form.TextField(""); - o.setWidth(600); - vLayout.add(o); - fsm.addObject("text_result", o); - - var hLayout = new qx.ui.layout.HorizontalBoxLayout(); - hLayout.setHeight("auto"); - hLayout.setVerticalChildrenAlign("middle"); - hLayout.setSpacing(4); - - var o = new qx.ui.basic.Atom("Idle=blue, RPC=red"); - o.setBorder(qx.renderer.border.BorderPresets.getInstance().black); - o.setColor(new qx.renderer.color.Color("white")); - o.setWidth(200); - o.setHeight(30); - o.setPadding(4); - hLayout.add(o); - fsm.addObject("atom_1", o, "group_color_change"); - - var o = new qx.ui.basic.Atom("Idle=blue, RPC=red"); - o.setBorder(qx.renderer.border.BorderPresets.getInstance().black); - o.setColor(new qx.renderer.color.Color("white")); - o.setWidth(200); - o.setHeight(30); - o.setPadding(4); - hLayout.add(o); - fsm.addObject("atom_2", o, "group_color_change"); - - var o = new qx.ui.basic.Atom("Idle=blue, RPC=red"); - o.setBorder(qx.renderer.border.BorderPresets.getInstance().black); - o.setColor(new qx.renderer.color.Color("white")); - o.setWidth(200); - o.setHeight(30); - o.setPadding(4); - hLayout.add(o); - fsm.addObject("atom_3", o, "group_color_change"); - - vLayout.add(hLayout); - - d.add(vLayout); -} |