qooxdoo-commit Mailing List for qooxdoo (Page 1425)
Brought to you by:
ecker,
martinwittemann
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(453) |
Feb
(800) |
Mar
(247) |
Apr
(324) |
May
(172) |
Jun
(145) |
Jul
(265) |
Aug
(447) |
Sep
(271) |
Oct
(312) |
Nov
(327) |
Dec
(472) |
| 2007 |
Jan
(493) |
Feb
(631) |
Mar
(565) |
Apr
(469) |
May
(757) |
Jun
(460) |
Jul
(440) |
Aug
(411) |
Sep
(813) |
Oct
(339) |
Nov
(112) |
Dec
(215) |
| 2008 |
Jan
(423) |
Feb
(671) |
Mar
(578) |
Apr
(566) |
May
(498) |
Jun
(411) |
Jul
(845) |
Aug
(1208) |
Sep
(176) |
Oct
(144) |
Nov
(216) |
Dec
(353) |
| 2009 |
Jan
(363) |
Feb
(700) |
Mar
(416) |
Apr
(362) |
May
(292) |
Jun
(238) |
Jul
(243) |
Aug
(216) |
Sep
(287) |
Oct
(304) |
Nov
(300) |
Dec
(416) |
| 2010 |
Jan
(200) |
Feb
(200) |
Mar
(183) |
Apr
(259) |
May
(217) |
Jun
(241) |
Jul
(320) |
Aug
(330) |
Sep
(209) |
Oct
(217) |
Nov
(460) |
Dec
(392) |
| 2011 |
Jan
(338) |
Feb
(465) |
Mar
(1257) |
Apr
(433) |
May
(505) |
Jun
(417) |
Jul
(438) |
Aug
(241) |
Sep
(258) |
Oct
(223) |
Nov
(224) |
Dec
(172) |
| 2012 |
Jan
(151) |
Feb
(119) |
Mar
(220) |
Apr
(182) |
May
(236) |
Jun
(264) |
Jul
(188) |
Aug
(145) |
Sep
(186) |
Oct
(183) |
Nov
(243) |
Dec
(126) |
| 2013 |
Jan
(133) |
Feb
(165) |
Mar
(122) |
Apr
(116) |
May
(177) |
Jun
(177) |
Jul
(290) |
Aug
(150) |
Sep
(165) |
Oct
(168) |
Nov
(252) |
Dec
(152) |
| 2014 |
Jan
(109) |
Feb
(150) |
Mar
(135) |
Apr
(186) |
May
(235) |
Jun
(181) |
Jul
(193) |
Aug
(117) |
Sep
(118) |
Oct
(194) |
Nov
(207) |
Dec
(261) |
| 2015 |
Jan
(138) |
Feb
(218) |
Mar
(180) |
Apr
(141) |
May
(114) |
Jun
(24) |
Jul
(22) |
Aug
(14) |
Sep
(22) |
Oct
(11) |
Nov
(7) |
Dec
(10) |
| 2016 |
Jan
(1) |
Feb
(31) |
Mar
(13) |
Apr
(30) |
May
(34) |
Jun
(25) |
Jul
(16) |
Aug
(14) |
Sep
(21) |
Oct
(20) |
Nov
(6) |
Dec
|
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:59:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/test/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12584/source/test/user Modified Files: Tag: renderer Native_Window_1.html Log Message: Added dependent property to QxNativeWindow. Change default for allowScrollbars to true, re-structured test-example variable names Index: Native_Window_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/test/user/Attic/Native_Window_1.html,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -d -r1.1.2.12 -r1.1.2.13 --- Native_Window_1.html 24 Jan 2006 12:26:00 -0000 1.1.2.12 +++ Native_Window_1.html 24 Jan 2006 14:59:13 -0000 1.1.2.13 @@ -98,17 +98,26 @@ var chk6 = new QxCheckBox("Allow Scrollbars"); chk6.setLocation(0, 100); - chk6.setChecked(false); + chk6.setChecked(true); chk6.addEventListener("changeChecked", function(e) { w1.setAllowScrollbars(e.getNewValue()); }); - var chkb2 = new QxCheckBox("Modal"); - chkb2.setLocation(0, 120); - chkb2.setChecked(false); - chkb2.addEventListener("changeChecked", function(e) { w1.setModal(e.getNewValue()); }); + var chk7 = new QxCheckBox("Modal"); + chk7.setLocation(0, 120); + chk7.setChecked(false); + chk7.addEventListener("changeChecked", function(e) { + w1.setModal(e.getNewValue()); + }); + + var chk8 = new QxCheckBox("Dependent"); + chk8.setLocation(0, 140); + chk8.setChecked(true); + chk8.addEventListener("changeChecked", function(e) { + w1.setDependent(e.getNewValue()); + }); - fs1.add(chk1, chk2, chk3, chk4, chk5, chk6, chkb2); + fs1.add(chk1, chk2, chk3, chk4, chk5, chk6, chk7, chk8); @@ -121,13 +130,17 @@ fs2.setHeight("auto"); l.add(fs2); - var tf6 = new QxTextField("http://www.google.com"); - tf6.setLocation(0, 2); - tf6.setWidth(150); - var btn6 = new QxButton("Set Url", "icons/16/buttonok.png"); - btn6.setLocation(155, 0); - btn6.addEventListener("click", function() { w1.setUrl(tf6.getValue()); }); + + var tf1 = new QxTextField("http://www.google.com"); + tf1.setLocation(0, 2); + tf1.setWidth(150); + + var btn1 = new QxButton("Set Url", "icons/16/buttonok.png"); + btn1.setLocation(155, 0); + btn1.addEventListener("click", function() { + w1.setUrl(tf6.getValue()); + }); @@ -138,7 +151,9 @@ var btn2 = new QxButton("Set Width", "icons/16/buttonok.png"); btn2.setLocation(55, 40); - btn2.addEventListener("click", function() { w1.setWidth(parseInt(tf2.getValue())); }); + btn2.addEventListener("click", function() { + w1.setWidth(parseInt(tf2.getValue())); + }); @@ -149,25 +164,33 @@ var btn3 = new QxButton("Set Height", "icons/16/buttonok.png"); btn3.setLocation(55, 70); - btn3.addEventListener("click", function() { w1.setHeight(parseInt(tf3.getValue())); }); + btn3.addEventListener("click", function() { + w1.setHeight(parseInt(tf3.getValue())); + }); - var btn7 = new QxButton("Center to screen", "icons/16/kpersonalizer.png"); - btn7.setLocation(0, 110); - btn7.addEventListener("click", function() { w1.centerToScreen() }); + var btn4 = new QxButton("Center to screen", "icons/16/kpersonalizer.png"); + btn4.setLocation(0, 110); + btn4.addEventListener("click", function() { + w1.centerToScreen() + }); - var btn8 = new QxButton("Center to screen area", "icons/16/kpersonalizer.png"); - btn8.setLocation(0, 140); - btn8.addEventListener("click", function() { w1.centerToScreenArea() }); + var btn5 = new QxButton("Center to screen area", "icons/16/kpersonalizer.png"); + btn5.setLocation(0, 140); + btn5.addEventListener("click", function() { + w1.centerToScreenArea() + }); - var btn9 = new QxButton("Center to opener", "icons/16/kpersonalizer.png"); - btn9.setLocation(0, 170); - btn9.addEventListener("click", function() { w1.centerToOpener() }); + var btn6 = new QxButton("Center to opener", "icons/16/kpersonalizer.png"); + btn6.setLocation(0, 170); + btn6.addEventListener("click", function() { + w1.centerToOpener() + }); - fs2.add(tf6, btn6, tf2, btn2, tf3, btn3, btn7, btn8, btn9); + fs2.add(tf1, btn1, tf2, btn2, tf3, btn3, btn4, btn5, btn6); }; </script> </body> |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:59:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12584/source/script/gui Modified Files: Tag: renderer QxNativeWindow.js Log Message: Added dependent property to QxNativeWindow. Change default for allowScrollbars to true, re-structured test-example variable names Index: QxNativeWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxNativeWindow.js,v retrieving revision 1.1.2.20 retrieving revision 1.1.2.21 diff -u -d -r1.1.2.20 -r1.1.2.21 --- QxNativeWindow.js 24 Jan 2006 12:46:05 -0000 1.1.2.20 +++ QxNativeWindow.js 24 Jan 2006 14:59:13 -0000 1.1.2.21 @@ -119,6 +119,11 @@ QxNativeWindow.addProperty({ name : "modal", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); /*! + Should be window be dependent on this application window +*/ +QxNativeWindow.addProperty({ name : "dependent", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true }); + +/*! The url */ QxNativeWindow.addProperty({ name : "url", type : QxConst.TYPEOF_STRING }); @@ -161,7 +166,7 @@ /*! If the window is able to scroll and has visible scrollbars if needed */ -QxNativeWindow.addProperty({ name : "allowScrollbars", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); +QxNativeWindow.addProperty({ name : "allowScrollbars", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true }); @@ -187,6 +192,15 @@ proto._modifyPosition = function(propValue, propOldValue, propName) { + /* + http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx + Changes to Functionality in Microsoft Windows XP Service Pack 2 + Part 5: Enhanced Browsing Security + URLACTION_FEATURE_WINDOW_RESTRICTIONS + Allow script-initiated windows without size or position constraints + Code: 2102 + */ + if (!this.isClosed()) { try @@ -324,11 +338,6 @@ ------------------------------------------------------------------------------ */ - vConf.push(QxNativeWindow.PROPERTY_DEPENDENT); - vConf.push(QxConst.CORE_EQUAL); - vConf.push(QxConst.CORE_YES); - vConf.push(QxConst.CORE_COMMA); - if (QxUtil.isValidNumber(this.getWidth())) { vConf.push(QxNativeWindow.PROPERTY_WIDTH); @@ -361,14 +370,12 @@ vConf.push(QxConst.CORE_COMMA); }; - /* - http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx - Changes to Functionality in Microsoft Windows XP Service Pack 2 - Part 5: Enhanced Browsing Security - URLACTION_FEATURE_WINDOW_RESTRICTIONS - Allow script-initiated windows without size or position constraints - Code: 2102 - */ + + + vConf.push(QxNativeWindow.PROPERTY_DEPENDENT); + vConf.push(QxConst.CORE_EQUAL); + vConf.push(this.getDependent() ? QxConst.CORE_YES : QxConst.CORE_NO); + vConf.push(QxConst.CORE_COMMA); vConf.push(QxNativeWindow.PROPERTY_RESIZABLE); vConf.push(QxConst.CORE_EQUAL); @@ -564,10 +571,16 @@ return; }; - if (!this.isClosed()) - { + if (this.getDependent()) { this.close(); - this._window = null; + }; + + this._window = null; + + if (this._timer) + { + this._timer.stop(); + this._timer = null; }; return QxTarget.prototype.dispose.call(this); |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:25:34
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31894/source/contributed/httptransport_ricks Modified Files: Tag: renderer Http_Transport_1.html Log Message: Minor path fix Index: Http_Transport_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks/Attic/Http_Transport_1.html,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- Http_Transport_1.html 24 Jan 2006 14:12:45 -0000 1.1.2.1 +++ Http_Transport_1.html 24 Jan 2006 14:25:19 -0000 1.1.2.2 @@ -9,11 +9,11 @@ <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> - <title>Index @ qooxdoo :: demo [development]</title> + <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> - <script type="text/javascript" src="../../script/qooxdoo.js"></script> + <script type="text/javascript" src="../../../tools/script/includer.js"></script> <script type="text/javascript" src="QxHttpTransportQueue.js"></script> <script type="text/javascript" src="QxHttpTransport.js"></script> </head> |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:20:54
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/green In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30220/clock_olsson/green Added Files: Tag: renderer 0.png 1.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png blank.png divisor.png Log Message: Sorry, renamed olsen to olsson --- NEW FILE: divisor.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 0.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 1.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: blank.png --- (This appears to be a binary file; contents omitted.) |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:41
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/green In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29787/clock_olsson/green Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/green added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:09
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/clock_olsson Added Files: Tag: renderer Clock_1.html QxBinaryClock.js QxClock.js QxDigitalClock.js Log Message: Sorry, renamed olsen to olsson --- NEW FILE: Clock_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <script type="text/javascript" src="QxClock.js"></script> <script type="text/javascript" src="QxBinaryClock.js"></script> <script type="text/javascript" src="QxDigitalClock.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Testing Clocks implementation.</p> <p>The elements of the clock will be created on the first open of the QxClockAnalog, QxClockDigital and QxClockBinary.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var digitalClock = new QxDigitalClock(); digitalClock.setTop(48); digitalClock.setLeft(20); var binaryClock = new QxBinaryClock(); binaryClock.setTop(100); binaryClock.setLeft(20); binaryClock.setBackgroundColor("black"); doc.add(digitalClock, binaryClock); }; </script> </body> </html> --- NEW FILE: QxClock.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxClock.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxClock() { QxAtom.call(this); this.setWidth(QxConst.CORE_AUTO); // *********************************************************************** // TIMER // *********************************************************************** this._timer = new QxTimer(this.getInterval()); // *********************************************************************** // EVENTS // *********************************************************************** this._timer.addEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); this._timer.start(); }; QxClock.extend(QxAtom, "QxClock"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ /*! The current value of the interval (this should be used internally only). */ QxClock.addProperty({ name : QxConst.EVENT_TYPE_INTERVAL, type : QxConst.TYPEOF_NUMBER, defaultValue : 1000 }); /*! The current zone. Offset value is 5 for CDT and 6 for CST */ QxClock.addProperty({ name : "zoneOffset", type : QxConst.TYPEOF_NUMBER, defaultValue : -1 }); /* ------------------------------------------------------------------------------------ INTERVAL HANDLING ------------------------------------------------------------------------------------ */ proto._oninterval = function(e) { this._timer.stop(); var date = new Date(); var hours = date.getUTCHours(); var minutes = date.getMinutes(); var seconds = date.getSeconds(); var offset = this.getZoneOffset(); if (hours < offset) { hours = hours + 24 - offset; // If hours < 0 add 24 for correct time } else { hours = hours - offset; // Else just subtract it. }; this.display(hours, minutes, seconds); QxWidget.flushGlobalQueues(); if (this.hasEventListeners(QxConst.EVENT_TYPE_INTERVAL)) { this.dispatchEvent(new QxEvent(QxConst.EVENT_TYPE_INTERVAL)); }; this._timer.restartWith(this.getInterval()); }; /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ // placeholder method proto.display = function(hours, minutes, seconds) {}; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if (this._timer) { this._timer.stop(); this._timer.removeEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); this._timer.dispose(); this._timer = null; }; return QxCanvasLayout.prototype.dispose.call(this); }; --- NEW FILE: QxDigitalClock.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxDigitalClock.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxDigitalClock() { QxClock.call(this); var label = this._label = new QxLabel(); this.setLabel(label); this.add(label); }; QxDigitalClock.extend(QxClock, "QxDigitalClock"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ QxDigitalClock.SHOW_TWELVE = "12"; QxDigitalClock.SHOW_TWENTYFOUR = "24"; /*! Show a 12 or 24 hour clock. */ QxDigitalClock.addProperty({ name : "showHours", type : QxConst.TYPEOF_NUMBER, possibleValues : [QxDigitalClock.SHOW_TWELVE, QxDigitalClock.SHOW_TWENTYFOUR], defaultValue : QxDigitalClock.SHOW_TWELVE }); /*! The current value of the interval (this should be used internally only). */ QxDigitalClock.addProperty({ name : "label", type : QxConst.TYPEOF_OBJECT }); /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ proto.display = function(hours, minutes, seconds) { var am_pm = ""; if(this.getShowHours() == "12") { if (hours > 11) { am_pm = "PM"; } else { am_pm = "AM"; }; if (hours > 12) { hours = hours - 12; }; if (hours == 0) { hours = 12; }; }; if (minutes <= 9) { minutes = "0" + minutes; }; if (seconds <= 9) { seconds = "0" + seconds; }; var time = hours + ':' + minutes + ':' + seconds + " " + am_pm; this.getLabel().setHtml(time); }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if (this._label) { this._label.dispose(); this._label = null; }; return QxClock.prototype.dispose.call(this); }; --- NEW FILE: QxBinaryClock.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxBinaryClock.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxBinaryClock() { QxClock.call(this); this._hour1I = new QxImage(); this._hour2I = new QxImage(); this._divisor1I = new QxImage(); this._minute1I = new QxImage(); this._minute2I = new QxImage(); this._divisor2I = new QxImage(); this._second1I = new QxImage(); this._second2I = new QxImage(); this.add(this._hour1I, this._hour2I, this._divisor1I, this._minute1I, this._minute2I, this._divisor2I, this._second1I, this._second2I); }; QxBinaryClock.extend(QxClock, "QxBinaryClock"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ QxBinaryClock.SHOW_TWELVE = "12"; QxBinaryClock.SHOW_TWENTYFOUR = "24"; /*! Show a 12 or 24 hour clock. */ QxBinaryClock.addProperty({ name : "showHours", type : QxConst.TYPEOF_NUMBER, possibleValues : [QxBinaryClock.SHOW_TWELVE, QxBinaryClock.SHOW_TWENTYFOUR], defaultValue : QxBinaryClock.SHOW_TWELVE }); /*! The image path. */ QxBinaryClock.addProperty({ name : "imagePath", type : QxConst.TYPEOF_STRING, defaultValue : "./" }); /*! The colour of the clock. It must be a subdirectory to imagePath. */ QxBinaryClock.addProperty({ name : "color", type : QxConst.TYPEOF_STRING, defaultValue : "green" }); /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ proto.display = function(hours, minutes, seconds) { if(this.getShowHours() == 12) { if (hours > 12) { hours = hours - 12; }; if (hours == 0) { hours = 12; }; }; var time = ((hours < 10) ? "0"+hours : hours) + '' + ((minutes < 10) ? "0"+minutes : minutes) + '' + ((seconds < 10) ? "0"+seconds : seconds); var imagePath = this.getImagePath() + this.getColor() + "/"; if(this.getShowHours() == 12) { this._hour1I.setSource(imagePath + time.charAt(0) + ".png"); } else { this._hour1I.setSource(imagePath + "blank.png"); }; this._hour2I.setSource(imagePath + time.charAt(1) + ".png"); this._divisor1I.setSource(imagePath + "divisor.png"); this._minute1I.setSource(imagePath + time.charAt(2) + ".png"); this._minute2I.setSource(imagePath + time.charAt(3) + ".png"); this._divisor2I.setSource(imagePath + "divisor.png"); this._second1I.setSource(imagePath + time.charAt(4) + ".png"); this._second2I.setSource(imagePath + time.charAt(5) + ".png"); }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if(this._hour1I) { this._hour1I.dispose(); this._hour1I = null; }; if(this._hour2I) { this._hour2I.dispose(); this._hour2I = null; }; if(this._divisor1I) { this._divisor1I.dispose(); this._divisor1I = null; }; if(this._minute1I) { this._minute1I.dispose(); this._minute1I = null; }; if(this._minute2I) { this._minute2I.dispose(); this._minute2I = null; }; if(this._divisor2I) { this._divisor2I.dispose(); this._divisor2I = null; }; if(this._second1I) { this._second1I.dispose(); this._second1I = null; }; if(this._second2I) { this._second2I.dispose(); this._second2I = null; }; return QxClock.prototype.dispose.call(this); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:08
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/buttonpane_olsson Added Files: Tag: renderer OptionPane_1.html OptionPane_2.html QxButtonPane.js QxOptionPane.js Log Message: Sorry, renamed olsen to olsson --- NEW FILE: QxOptionPane.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxOptionPane.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(optionpane) **************************************************************************** */ function QxOptionPane(vMessage, vMessageIcon) { QxCanvasLayout.call(this); this.setWidth(null); this.setHeight(null); var messageHBL = this._messageLayout = new QxHorizontalBoxLayout(); messageHBL.setHorizontalAlign("center"); var messageI = this._icon = new QxImage(vMessageIcon); var messageL = this._message = new QxLabel(vMessage); messageHBL.add(messageI, messageL); var buttonsBP = this._buttons = new QxButtonPane(); buttonsBP.setHorizontalAlign("center"); // this._buttonsBP.getOKButton().addEventListener("execute", function ok() { // this.close(); // return true; // }); // this._buttonsBP.getCancelButton().addEventListener("execute", function cancel() { // this.close(); // return false; // }); // this._buttonsBP.getHelpButton().addEventListener("execute", function help() { // // open the help!!! // }); var layoutVBL = this._layout = new QxVerticalBoxLayout(); layoutVBL.setPadding(5); layoutVBL.add(messageHBL, buttonsBP); this.add(layoutVBL); }; QxOptionPane.extend(QxCanvasLayout, "QxOptionPane"); /* ------------------------------------------------------------------------------------ STYLES & BEHAVIOR ------------------------------------------------------------------------------------ */ //proto._applyInitialStyle = function(statustext) //{ // this.setBorder(1, QxConst.BORDER_STYLE_INSET, "windowtext"); // this.setBackgroundColor("threedface"); //}; /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ proto.getMessage = function() { return this.vMessage; }; proto.getButtonPane = function() { return this._buttonsBP; }; proto.createDialog = function(vTitle, vIcon) { var messageW = this._messageW = new QxWindow(vTitle, vIcon); messageW.setAllowMaximize(false); messageW.setModal(true); messageW.add(this); return messageW; }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; // if (this._messageL) // { // this._messageL.dispose(); // this._messageL = null; // }; // if (this._buttonsBP) // { // this._buttonsBP.dispose(); // this._buttonsBP = null; // }; // if (this._layoutVBL) // { // this._layoutVBL.dispose(); // this._layoutVBL = null; // }; return QxWindow.prototype.dispose.call(this); }; --- NEW FILE: QxButtonPane.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxButtonPane.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(buttonpane) **************************************************************************** */ function QxButtonPane() { QxBoxLayout.call(this, QxConst.ORIENTATION_HORIZONTAL); var okB = this._ok = new QxButton("Ok"); okB.setPadding(5,1,2,2); var cancelB = this._cancel = new QxButton("Cancel"); cancelB.setPadding(5,1,2,1); var helpB = this._help = new QxButton("Help"); helpB.setPadding(5,2,2,1); this.add(okB, cancelB, helpB); }; QxButtonPane.extend(QxBoxLayout, "QxButtonPane"); /* ------------------------------------------------------------------------------------ STYLES & BEHAVIOR ------------------------------------------------------------------------------------ */ //proto._applyInitialStyle = function(statustext) //{ // this.setBorder(1, QxConst.BORDER_STYLE_INSET, "windowtext"); // this.setBackgroundColor("threedface"); //}; /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ //proto.getOKButton = function() { // return this._okB; //}; //proto.getCancelButton = function() { // return this._cancelB; //}; //proto.getHelpButton = function() { // return this._helpB; //}; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; // if (this._okB) // { // this._okB.dispose(); // this._okB = null; // }; // if (this._cancelB) // { // this._cancelB.dispose(); // this._cancelB = null; // }; // if (this._helpB) // { // this._helpB.dispose(); // this._helpB = null; // }; return QxBoxLayout.prototype.dispose.call(this); }; --- NEW FILE: OptionPane_2.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <script type="text/javascript" src="QxOptionPane.js"></script> <script type="text/javascript" src="QxButtonPane.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Testing OptionPane implementation.</p> <p>The elements of the dialog will be created on the first open of the QxOptionPane.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var messageI = new QxImage("icons/kids/16/stop.png", 48, 48); var mainOP = new QxOptionPane("Do you really want to delete the file?", null); mainOP.setTop(50); var mainD = mainOP.createDialog("Delete File", null); doc.add(mainD); mainD.open(); }; </script> </body> </html> --- NEW FILE: OptionPane_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <script type="text/javascript" src="QxOptionPane.js"></script> <script type="text/javascript" src="QxButtonPane.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Testing OptionPane implementation.</p> <p>The elements of the pane will be created on the first open of the QxOptionPane.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var messageI = new QxImage("icons/kids/16/stop.png", 48, 48); var mainOP = new QxOptionPane("Do you really want to delete the file?", null); mainOP.setTop(50); doc.add(mainOP); }; </script> </body> </html> |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:05
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/progressbar_olsen Removed Files: Tag: renderer ProgressBar_1.html QxProgressBar.js Log Message: Sorry, renamed olsen to olsson --- QxProgressBar.js DELETED --- --- ProgressBar_1.html DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:05
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/frame_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/frame_olsson Added Files: Tag: renderer Frame_1.html QxFrame.js QxUtil.js QxWindow.js Log Message: Sorry, renamed olsen to olsson --- NEW FILE: Frame_1.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"><head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <meta http-equiv="MsThemeCompatible" content="yes"> <meta http-equiv="ImageToolBar" content="no"> <meta name="MSSmartTagsPreventParsing" content="yes"><title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="Frame_1_files/qooxdoo.css"> <link type="text/css" rel="stylesheet" href="Frame_1_files/demolayout.css"> <script type="text/javascript" src="Frame_1_files/includer"></script><script type="text/javascript" src="Frame_1_files/QxMain"></script><script type="text/javascript" src="Frame_1_files/QxConst"></script><script type="text/javascript" src="Frame_1_files/QxExtend"></script><script type="text/javascript" src="Frame_1_files/QxClient"></script><script type="text/javascript" src="Frame_1_files/QxNative"></script><script type="text/javascript" src="Frame_1_files/QxUtil"></script><script type="text/javascript" src="Frame_1_files/QxCompare"></script><script type="text/javascript" src="Frame_1_files/QxObject"></script><script type="text/javascript" src="Frame_1_files/QxDom"></script><script type="text/javascript" src="Frame_1_files/QxDebug"></script><script type="text/javascript" src="Frame_1_files/QxTarget"></script><script type="text/javascript" src="Frame_1_files/QxApplication"></script><script type="text/javascript" src="Frame_1_files/QxClientWindow"></script><script type="text/javascript" src="Frame_1_files/QxManager"></script><script type="text/javascript" src="Frame_1_files/QxEvent"></script><script type="text/javascript" src="Frame_1_files/QxDomEvent"></script><script type="text/javascript" src="Frame_1_files/QxMouseEvent"></script><script type="text/javascript" src="Frame_1_files/QxMouseEventCore"></script><script type="text/javascript" src="Frame_1_files/QxKeyEvent"></script><script type="text/javascript" src="Frame_1_files/QxKeyEventCore"></script><script type="text/javascript" src="Frame_1_files/QxFocusEvent"></script><script type="text/javascript" src="Frame_1_files/QxDataEvent"></script><script type="text/javascript" src="Frame_1_files/QxColorManager"></script><script type="text/javascript" src="Frame_1_files/QxColorTheme"></script><script type="text/javascript" src="Frame_1_files/QxColor"></script><script type="text/javascript" src="Frame_1_files/QxColorObject"></script><script type="text/javascript" src="Frame_1_files/QxColorCore"></script><script type="text/javascript" src="Frame_1_files/QxColorCache"></script><script type="text/javascript" src="Frame_1_files/QxColorThemePresets"></script><script type="text/javascript" src="Frame_1_files/QxBorder"></script><script type="text/javascript" src="Frame_1_files/QxBorderObject"></script><script type="text/javascript" src="Frame_1_files/QxBorderCache"></script><script type="text/javascript" src="Frame_1_files/QxBorderPresets"></script><script type="text/javascript" src="Frame_1_files/QxBorderObjectPresets"></script><script type="text/javascript" src="Frame_1_files/QxFont"></script><script type="text/javascript" src="Frame_1_files/QxFontObject"></script><script type="text/javascript" src="Frame_1_files/QxFontCache"></script><script type="text/javascript" src="Frame_1_files/QxWidget"></script><script type="text/javascript" src="Frame_1_files/QxWidgetCore"></script><script type="text/javascript" src="Frame_1_files/QxLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxCanvasLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxHorizontalBoxLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxVerticalBoxLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxFlowLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxDockLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxGridLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxParent"></script><script type="text/javascript" src="Frame_1_files/QxTerminator"></script><script type="text/javascript" src="Frame_1_files/QxCanvasLayout"></script><script type="text/javascript" src="Frame_1_files/QxBlocker"></script><script type="text/javascript" src="Frame_1_files/QxClientDocument"></script><script type="text/javascript" src="Frame_1_files/QxInline"></script><script type="text/javascript" src="Frame_1_files/QxHorizontalSpacer"></script><script type="text/javascript" src="Frame_1_files/QxVerticalSpacer"></script><script type="text/javascript" src="Frame_1_files/QxEventManager"></script><script type="text/javascript" src="Frame_1_files/QxFocusManager"></script><script type="text/javascript" src="Frame_1_files/QxTextile"></script><script type="text/javascript" src="Frame_1_files/QxTextField"></script><script type="text/javascript" src="Frame_1_files/QxPasswordField"></script><script type="text/javascript" src="Frame_1_files/QxTextArea"></script><script type="text/javascript" src="Frame_1_files/QxTimer"></script><script type="text/javascript" src="Frame_1_files/QxXmlExtras"></script><script type="text/javascript" src="Frame_1_files/QxXmlHttpLoader"></script><script type="text/javascript" src="Frame_1_files/QxData"></script><script type="text/javascript" src="Frame_1_files/QxImageManager"></script><script type="text/javascript" src="Frame_1_files/QxImagePreloaderManager"></script><script type="text/javascript" src="Frame_1_files/QxImagePreloader"></script><script type="text/javascript" src="Frame_1_files/QxImage"></script><script type="text/javascript" src="Frame_1_files/QxDragEvent"></script><script type="text/javascript" src="Frame_1_files/QxDragAndDropManager"></script><script type="text/javascript" src="Frame_1_files/QxBoxLayout"></script><script type="text/javascript" src="Frame_1_files/QxVerticalBoxLayout"></script><script type="text/javascript" src="Frame_1_files/QxHorizontalBoxLayout"></script><script type="text/javascript" src="Frame_1_files/QxFlowLayout"></script><script type="text/javascript" src="Frame_1_files/QxDockLayout"></script><script type="text/javascript" src="Frame_1_files/QxGridLayout"></script><script type="text/javascript" src="Frame_1_files/QxText"></script><script type="text/javascript" src="Frame_1_files/QxHtml"></script><script type="text/javascript" src="Frame_1_files/QxLink"></script><script type="text/javascript" src="Frame_1_files/QxIconHtml"></script><script type="text/javascript" src="Frame_1_files/QxNode"></script><script type="text/javascript" src="Frame_1_files/QxLabel"></script><script type="text/javascript" src="Frame_1_files/QxLabelCore"></script><script type="text/javascript" src="Frame_1_files/QxAtom"></script><script type="text/javascript" src="Frame_1_files/QxButton"></script><script type="text/javascript" src="Frame_1_files/QxRepeatButton"></script><script type="text/javascript" src="Frame_1_files/QxRadioManager"></script><script type="text/javascript" src="Frame_1_files/QxInputCheckIcon"></script><script type="text/javascript" src="Frame_1_files/QxCheckBox"></script><script type="text/javascript" src="Frame_1_files/QxRadioButton"></script><script type="text/javascript" src="Frame_1_files/QxPopupManager"></script><script type="text/javascript" src="Frame_1_files/QxPopup"></script><script type="text/javascript" src="Frame_1_files/QxPopupAtom"></script><script type="text/javascript" src="Frame_1_files/QxToolTipManager"></script><script type="text/javascript" src="Frame_1_files/QxToolTip"></script><script type="text/javascript" src="Frame_1_files/QxFieldSet"></script><script type="text/javascript" src="Frame_1_files/QxCheckBoxFieldSet"></script><script type="text/javascript" src="Frame_1_files/QxRadioButtonFieldSet"></script><script type="text/javascript" src="Frame_1_files/QxIframe"></script><script type="text/javascript" src="Frame_1_files/QxMenuManager"></script><script type="text/javascript" src="Frame_1_files/QxMenuLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxMenuLayout"></script><script type="text/javascript" src="Frame_1_files/QxMenu"></script><script type="text/javascript" src="Frame_1_files/QxMenuButtonLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxMenuButton"></script><script type="text/javascript" src="Frame_1_files/QxMenuCheckBox"></script><script type="text/javascript" src="Frame_1_files/QxMenuRadioButton"></script><script type="text/javascript" src="Frame_1_files/QxMenuSeparator"></script><script type="text/javascript" src="Frame_1_files/QxToolBar"></script><script type="text/javascript" src="Frame_1_files/QxToolBarPart"></script><script type="text/javascript" src="Frame_1_files/QxToolBarPartHandle"></script><script type="text/javascript" src="Frame_1_files/QxToolBarButton"></script><script type="text/javascript" src="Frame_1_files/QxToolBarSeparator"></script><script type="text/javascript" src="Frame_1_files/QxToolBarCheckBox"></script><script type="text/javascript" src="Frame_1_files/QxToolBarRadioButton"></script><script type="text/javascript" src="Frame_1_files/QxToolBarMenuButton"></script><script type="text/javascript" src="Frame_1_files/QxMenuBar"></script><script type="text/javascript" src="Frame_1_files/QxMenuBarButton"></script><script type="text/javascript" src="Frame_1_files/QxSelectionStorage"></script><script type="text/javascript" src="Frame_1_files/QxSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxList"></script><script type="text/javascript" src="Frame_1_files/QxListItem"></script><script type="text/javascript" src="Frame_1_files/QxComboBox"></script><script type="text/javascript" src="Frame_1_files/QxDateComboBox"></script><script type="text/javascript" src="Frame_1_files/QxRangeManager"></script><script type="text/javascript" src="Frame_1_files/QxSpinner"></script><script type="text/javascript" src="Frame_1_files/QxCommand"></script><script type="text/javascript" src="Frame_1_files/QxWindowManager"></script><script type="text/javascript" src="Frame_1_files/QxWindow"></script><script type="text/javascript" src="Frame_1_files/QxFrame"></script><script type="text/javascript" src="Frame_1_files/QxNativeWindow"></script><script type="text/javascript" src="Frame_1_files/QxSplashScreen"></script><script type="text/javascript" src="Frame_1_files/QxFlashPlayerVersion"></script><script type="text/javascript" src="Frame_1_files/QxFlash"></script><script type="text/javascript" src="Frame_1_files/QxEmu"></script><script type="text/javascript" src="Frame_1_files/QxCommonView"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewBar"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewPane"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewPage"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewButton"></script><script type="text/javascript" src="Frame_1_files/QxTabView"></script><script type="text/javascript" src="Frame_1_files/QxTabViewBar"></script><script type="text/javascript" src="Frame_1_files/QxTabViewPane"></script><script type="text/javascript" src="Frame_1_files/QxTabViewPage"></script><script type="text/javascript" src="Frame_1_files/QxTabViewButton"></script><script type="text/javascript" src="Frame_1_files/QxBarView"></script><script type="text/javascript" src="Frame_1_files/QxBarViewBar"></script><script type="text/javascript" src="Frame_1_files/QxBarViewPane"></script><script type="text/javascript" src="Frame_1_files/QxBarViewPage"></script><script type="text/javascript" src="Frame_1_files/QxBarViewButton"></script><script type="text/javascript" src="Frame_1_files/QxOutlookBarView"></script><script type="text/javascript" src="Frame_1_files/QxOutlookBarViewButton"></script><script type="text/javascript" src="Frame_1_files/QxListView"></script><script type="text/javascript" src="Frame_1_files/QxDatePicker"></script><script type="text/javascript" src="Frame_1_files/QxStatusBar"></script><script type="text/javascript" src="Frame_1_files/QxStatusBarPane"></script><script type="text/javascript" src="Frame_1_files/QxProgressBar"></script><script type="text/javascript" src="Frame_1_files/QxSplitPane"></script><script type="text/javascript" src="Frame_1_files/QxButtonPane"></script><script type="text/javascript" src="Frame_1_files/QxOptionPane"></script><script type="text/javascript" src="Frame_1_files/QxScroller"></script><script type="text/javascript" src="Frame_1_files/QxTreeSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxTreeElement"></script><script type="text/javascript" src="Frame_1_files/QxTreeFile"></script><script type="text/javascript" src="Frame_1_files/QxTreeFolder"></script><script type="text/javascript" src="Frame_1_files/QxTree"></script><script type="text/javascript" src="Frame_1_files/QxVirtualSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxListView"></script><script type="text/javascript" src="Frame_1_files/QxListViewHeader"></script><script type="text/javascript" src="Frame_1_files/QxListViewPane"></script><script type="text/javascript" src="Frame_1_files/QxListViewHeaderCell"></script><script type="text/javascript" src="Frame_1_files/QxListViewHeaderSeparator"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellText"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellImage"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellHtml"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellLink"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellIconHtml"></script><script type="text/javascript" src="Frame_1_files/QxDomSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxGallery"></script><script type="text/javascript" src="Frame_1_files/QxGalleryList"></script><script type="text/javascript" src="Frame_1_files/QxClock"></script><script type="text/javascript" src="Frame_1_files/QxClockAnalog"></script><script type="text/javascript" src="Frame_1_files/QxClockDigital"></script><script type="text/javascript" src="Frame_1_files/QxClockBinary"></script><script type="text/javascript" src="Frame_1_files/QxCookie"></script><script type="text/javascript" src="Frame_1_files/QxTimeTracker"></script><style type="text/css"></style></head> <body style="background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-user-focus: normal;"> <script type="text/javascript" src="Frame_1_files/demolayout"></script><div id="testHead">qooxdoo: <span>The new era of web interface development</span> | DEVELOPMENT BRANCH</div><div id="testFoot">[<a href="javascript:void(window.location.href=window.location.href.replace(/\/source\//, '\/public\/'))">Go to: Public</a>] [<a href="http://www.perevotech.com/qooxdoo/source/test/developer/Index.html">Go to: Developer Examples</a>] </div><div id="testDebug"><div class="head"><button>clear</button><button>hide</button><button>show</button><button>dispose</button></div><div class="log"><div class="group">QxInit</div><div class="message message-info">003471: qooxdoo/0.2_beta-3</div><div class="message message-info">003490: datestamp/20051230</div><div class="group">QxApplication[HASHCODE:0]</div><div class="message message-default">053420: Loading Data: 53419ms</div><div class="message message-info">053447: Available Classes: 152</div><div class="message message-info">053452: Client Detection: gecko 1.7.12</div><div class="message message-default">053686: Initialize Application: 240ms</div><div class="message message-info">053691: Created Instances: 81</div><div class="message message-default">054384: Executing User Application: 693ms</div><div class="message message-default">054411: Preloading Images: 23ms</div><div class="message message-info">055087: Created Instances: 261</div><div class="message message-default">055091: Initialize Interface: 549ms</div><div class="message message-default">055863: Postloading Images: 34ms</div></div></div><div id="testFrame"> </div><select id="testFiles" size="5" onchange="window.location.href=this.options[this.selectedIndex].value"><option value="Atom_1.html">Atom 1</option><option value="Atom_2.html">Atom 2</option><option value="Atom_3.html">Atom 3</option><option value="Bar_View_1.html">Bar View 1</option><option value="Bar_View_2.html">Bar View 2</option><option value="Border_1.html">Border 1</option><option value="Box_Layout_1.html">Box Layout 1</option><option value="Box_Layout_2.html">Box Layout 2</option><option value="Box_Layout_3.html">Box Layout 3</option><option value="Box_Layout_4.html">Box Layout 4</option><option value="Box_Layout_5.html">Box Layout 5</option><option value="Box_Layout_6.html">Box Layout 6</option><option value="Box_Layout_7.html">Box Layout 7</option><option value="Box_Layout_8.html">Box Layout 8</option><option value="Button_1.html">Button 1</option><option value="Button_2.html">Button 2</option><option value="Canvas_Layout_1.html">Canvas Layout 1</option><option value="Checkbox_1.html">Checkbox 1</option><option value="Clipping_1.html">Clipping 1</option><option value="Clock_1.html">Clock 1</option><option value="Color_Themes_1.html">Color Themes 1</option><option value="Color_Themes_2.html">Color Themes 2</option><option value="Color_Themes_3.html">Color Themes 3</option><option value="Combobox_1.html">Combobox 1</option><option value="Combobox_2.html">Combobox 2</option><option value="Combobox_3.html">Combobox 3</option><option value="Combobox_4.html">Combobox 4</option><option value="Cookie_1.html">Cookie 1</option><option value="Data_Handling_1.html">Data Handling 1</option><option value="Data_Handling_2.html">Data Handling 2</option><option value="Dock_Layout_1.html">Dock Layout 1</option><option value="Dock_Layout_2.html">Dock Layout 2</option><option value="Dock_Layout_3.html">Dock Layout 3</option><option value="Dock_Layout_4.html">Dock Layout 4</option><option value="Dock_Layout_5.html">Dock Layout 5</option><option value="Dock_Layout_6.html">Dock Layout 6</option><option value="Drag_And_Drop_1.html">Drag And Drop 1</option><option value="Drag_And_Drop_2.html">Drag And Drop 2</option><option value="Enabled_Disabled_1.html">Enabled Disabled 1</option><option value="Fields_1.html">Fields 1</option><option value="Fields_2.html">Fields 2</option><option value="Fieldset_1.html">Fieldset 1</option><option value="Fieldset_2.html">Fieldset 2</option><option value="Fieldset_3.html">Fieldset 3</option><option value="Fieldset_4.html">Fieldset 4</option><option value="Flash_1.html">Flash 1</option><option value="Flow_Layout_1.html">Flow Layout 1</option><option value="Flow_Layout_2.html">Flow Layout 2</option><option value="Flow_Layout_3.html">Flow Layout 3</option><option value="Focus_Manager_1.html">Focus Manager 1</option><option value="Font_1.html">Font 1</option><option value="Frame_1.html" selected="selected">Frame 1</option><option value="Gallery_1.html">Gallery 1</option><option value="Gallery_2.html">Gallery 2</option><option value="Gallery_3.html">Gallery 3</option><option value="Gallery_List_1.html">Gallery List 1</option><option value="Grid_Layout_10.html">Grid Layout 10</option><option value="Grid_Layout_11.html">Grid Layout 11</option><option value="Grid_Layout_1.html">Grid Layout 1</option><option value="Grid_Layout_2.html">Grid Layout 2</option><option value="Grid_Layout_3.html">Grid Layout 3</option><option value="Grid_Layout_4.html">Grid Layout 4</option><option value="Grid_Layout_5.html">Grid Layout 5</option><option value="Grid_Layout_6.html">Grid Layout 6</option><option value="Grid_Layout_7.html">Grid Layout 7</option><option value="Grid_Layout_8.html">Grid Layout 8</option><option value="Grid_Layout_9.html">Grid Layout 9</option><option value="IconHtml_1.html">IconHtml 1</option><option value="Iframe_1.html">Iframe 1</option><option value="Image_1.html">Image 1</option><option value="Image_2.html">Image 2</option><option value="Index.html">Index</option><option value="Inline_1.html">Inline 1</option><option value="Label_1.html">Label 1</option><option value="Label_2.html">Label 2</option><option value="Label_3.html">Label 3</option><option value="Label_4.html">Label 4</option><option value="Link_1.html">Link 1</option><option value="List_1.html">List 1</option><option value="List_2.html">List 2</option><option value="List_3.html">List 3</option><option value="List_4.html">List 4</option><option value="List_View_10.html">List View 10</option><option value="List_View_11.html">List View 11</option><option value="List_View_12.html">List View 12</option><option value="List_View_13.html">List View 13</option><option value="List_View_14.html">List View 14</option><option value="List_View_1b.html">List View 1b</option><option value="List_View_1.html">List View 1</option><option value="List_View_2b.html">List View 2b</option><option value="List_View_2.html">List View 2</option><option value="List_View_3b.html">List View 3b</option><option value="List_View_3.html">List View 3</option><option value="List_View_4.html">List View 4</option><option value="List_View_5.html">List View 5</option><option value="List_View_6.html">List View 6</option><option value="List_View_7.html">List View 7</option><option value="List_View_8.html">List View 8</option><option value="List_View_9.html">List View 9</option><option value="Menu_1.html">Menu 1</option><option value="Menu_2.html">Menu 2</option><option value="Menu_3.html">Menu 3</option><option value="Native_Window_1.html">Native Window 1</option><option value="Node_1.html">Node 1</option><option value="OptionPane_1.html">OptionPane 1</option><option value="OptionPane_2.html">OptionPane 2</option><option value="ProgressBar_1.html">ProgressBar 1</option><option value="Radiobutton_1.html">Radiobutton 1</option><option value="Repeat_Button_1.html">Repeat Button 1</option><option value="Rounded_Corners_1.html">Rounded Corners 1</option><option value="Scroller_1.html">Scroller 1</option><option value="Spinner_1.html">Spinner 1</option><option value="SplashScreen_1.html">SplashScreen 1</option><option value="StatusBar_1.html">StatusBar 1</option><option value="StatusBar_2.html">StatusBar 2</option><option value="Tab_View_1.html">Tab View 1</option><option value="Toolbar_1.html">Toolbar 1</option><option value="Toolbar_2.html">Toolbar 2</option><option value="Toolbar_3.html">Toolbar 3</option><option value="Toolbar_4.html">Toolbar 4</option><option value="Toolbar_5.html">Toolbar 5</option><option value="Toolbar_6.html">Toolbar 6</option><option value="Toolbar_7.html">Toolbar 7</option><option value="Toolbar_8.html">Toolbar 8</option><option value="Tooltip_1.html">Tooltip 1</option><option value="Tree_1.html">Tree 1</option><option value="Tree_2.html">Tree 2</option><option value="Tree_3.html">Tree 3</option><option value="Tree_4.html">Tree 4</option><option value="Tree_5.html">Tree 5</option><option value="Tree_6.html">Tree 6</option><option value="Tree_7.html">Tree 7</option><option value="User_Data_1.html">User Data 1</option><option value="Window_1.html">Window 1</option><option value="Window_2.html">Window 2</option><option value="Window_3.html">Window 3</option><option value="Window_4.html">Window 4</option><option value="Window_5.html">Window 5</option></select> <div id="testDescription"> <p>Testing StatusBar implementation.</p> <p>The elements of the status bar will be created on the first open of the QxStatusBar.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var mainF = new QxFrame("Test of status bar"); mainF.setSpace(20, 400, 48, 250); mainF.setMenuBar(createMenuBar()); mainF.setStatusBar(createStatusBar()); mainF.addEventListener(QxConst.EVENT_TYPE_KEYDOWN, function _onkeydown(e) { if(e.getKeyCode() == 90) // The NUM key { numL.setHtml("NUM"); } else { numL.setHtml(""); }; }); doc.add(mainF); mainF.open(); function createMenuBar() { var menuMB = new QxMenuBar(); var fileM = new QxMenu(); var newMB = new QxMenuButton("New"); var openMB = new QxMenuButton("Open"); var saveAsMB = new QxMenuButton("Save as.."); var mailS = new QxMenuSeparator(); var closeMB = new QxMenuButton("Close"); var exitMB = new QxMenuButton("Exit"); exitMB.addEventListener("execute", function() { mainF.close(); }); fileM.add(newMB, openMB, saveAsMB, mailS, closeMB, exitMB); var fileMBB = new QxMenuBarButton("File", fileM); // Edit Menu var editM = new QxMenu(); var undoMB = new QxMenuButton("Undo"); var redoMB = new QxMenuButton("Redo"); var editS1 = new QxMenuSeparator(); var cutMB = new QxMenuButton("Cut"); var copyMB = new QxMenuButton("Copy"); var pasteMB = new QxMenuButton("Paste"); var deleteMB = new QxMenuButton("Delete"); var editS2 = new QxMenuSeparator(); var selectAllMB = new QxMenuButton("Select all"); var editS3 = new QxMenuSeparator(); var preferencesMB = new QxMenuButton("Preferences"); editM.add(undoMB, redoMB, editS1, cutMB, copyMB, pasteMB, deleteMB, editS2, selectAllMB, editS3, preferencesMB); var editMBB = new QxMenuBarButton("Edit",editM); doc.add(fileM, editM); menuMB.add(fileMBB, editMBB); return menuMB; }; function createStatusBar() { var statusSB = new QxStatusBar(); var statusL = new QxLabel("Ready"); var statusSBP1 = new QxStatusBarPane(statusL); statusSBP1.setWidth("50%"); var numL = new QxLabel(); var statusSBP2 = new QxStatusBarPane(numL); statusSBP2.setWidth(30); statusSBP2.setLeft(95); var digitalClockC = new QxClockDigital(); var statusSBP3 = new QxStatusBarPane(digitalClockC); statusSBP3.setLeft(98); statusSB.add(statusSBP1, statusSBP2, statusSBP3); return statusSB; }; }; </script> <div style="height: auto; width: auto; visibility: hidden; position: absolute; z-index: -1;">3:21:16 PM</div><div qxhashcode="89" class="QxWidgetCore QxFrame" style="border: 2px outset ; z-index: 1000000; background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-user-focus: normal; -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); height: 250px; min-height: 71px; min-width: 160px; left: 255px; top: 97px; width: 409px; cursor: s-resize;"><div style="left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="93" class="QxWidgetCore QxVerticalBoxLayout"><div style="height: 19px; background-color: rgb(51, 94, 168); color: rgb(255, 255, 255); left: 0px; right: 0px; top: 0px;" qxhashcode="96" class="QxWidgetCore QxHorizontalBoxLayout"><div qxhashcode="99" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; margin-right: 2px; left: 2px; top: 9px;"><img src="Frame_1_files/blank" height="1" width="1"></div><div qxhashcode="100" class="QxWidgetCore QxLabel" style="-moz-user-select: none; cursor: default; font-weight: bold; margin-right: 2px; left: 5px; top: 2px;">Test of status bar</div><div style="min-height: 16px; width: 249px; left: 100px; top: 1px; bottom: 2px;" qxhashcode="101" class="QxWidgetCore QxHorizontalSpacer"></div><div qxhashcode="102" class="QxWidgetCore QxButton" style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: ignore; cursor: default; background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 17px; height: 15px; left: 349px; top: 2px;"><div qxhashcode="105" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 2px; top: 1px;"><img src="Frame_1_files/minimize" height="9" width="9"></div></div><div qxhashcode="119" class="QxWidgetCore QxButton" style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: ignore; cursor: default; background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 17px; height: 15px; left: 366px; top: 2px;"><div qxhashcode="122" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 2px; top: 1px;"><img src="Frame_1_files/maximize" height="9" width="9"></div></div><div qxhashcode="124" class="QxWidgetCore QxButton" style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: ignore; cursor: default; background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); margin-left: 2px; width: 16px; height: 15px; left: 383px; top: 2px;"><div qxhashcode="127" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 1px; top: 1px;"><img src="Frame_1_files/close" height="9" width="10"></div></div></div><div style="border: 1px outset ; -moz-border-left-colors: rgb(255, 255, 255); -moz-border-right-colors: rgb(167, 166, 170); -moz-border-top-colors: rgb(255, 255, 255); -moz-border-bottom-colors: rgb(167, 166, 170); height: 22px; left: 0px; right: 0px; top: 19px;" qxhashcode="138" class="QxWidgetCore QxMenuBar"><div qxhashcode="196" class="QxWidgetCore QxMenuBarButton" style="-moz-user-select: none; cursor: default; background-color: rgb(235, 233, 237); width: 25px; left: 0px; top: 0px; bottom: 0px;"><div qxhashcode="199" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 4px; top: 3px;">File</div></div><div qxhashcode="279" class="QxWidgetCore QxMenuBarButton" style="-moz-user-select: none; cursor: default; background-color: rgb(235, 233, 237); width: 26px; left: 25px; top: 0px; bottom: 0px;"><div qxhashcode="282" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 4px; top: 3px;">Edit</div></div></div><div style="height: 179px; left: 0px; right: 0px; top: 41px;" qxhashcode="129" class="QxWidgetCore QxCanvasLayout"></div><div qxhashcode="283" class="QxWidgetCore QxStatusBar" style="border: 1px outset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); overflow: hidden; -moz-border-left-colors: rgb(255, 255, 255); -moz-border-right-colors: rgb(167, 166, 170); -moz-border-top-colors: rgb(255, 255, 255); -moz-border-bottom-colors: rgb(167, 166, 170); height: 24px; left: 0px; right: 0px; top: 220px;"><div qxhashcode="287" class="QxWidgetCore QxStatusBarPane" style="border: 2px inset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); width: 201px; left: 0px; top: 0px; bottom: 0px;"><div style="padding-left: 1px; padding-right: 1px;" qxhashcode="286" class="QxWidgetCore QxLabel">Ready</div></div><div qxhashcode="290" class="QxWidgetCore QxStatusBarPane" style="border: 2px inset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); width: 30px; left: 296px; top: 0px; bottom: 0px;"><div style="padding-left: 1px; padding-right: 1px;" qxhashcode="289" class="QxWidgetCore QxLabel"></div></div><div qxhashcode="298" class="QxWidgetCore QxStatusBarPane" style="border: 2px inset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); width: 61px; left: 329px; top: 0px; bottom: 0px;"><div qxhashcode="292" class="QxWidgetCore QxClockDigital" style="-moz-user-select: none; cursor: default; width: 57px; height: 14px;"><div style="left: 1px; top: 0px;" qxhashcode="297" class="QxWidgetCore QxLabel">3:21:16 PM</div></div></div></div></div></div><div qxhashcode="142" class="QxWidgetCore QxMenu" style="border: 2px outset ; background-color: rgb(255, 255, 255); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 88px; height: 103px; left: 259px; top: 140px; z-index: 1000000; display: none;"><div style="left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="145" class="QxWidgetCore QxMenuLayout"><div qxhashcode="155" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 0px;"><div qxhashcode="159" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">New</div></div><div qxhashcode="163" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 18px;"><div qxhashcode="167" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Open</div></div><div qxhashcode="170" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 36px;"><div qxhashcode="174" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Save as..</div></div><div style="height: 2px; left: 0px; right: 0px; top: 54px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="177" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="179" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="181" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 61px;"><div qxhashcode="185" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Close</div></div><div qxhashcode="188" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 79px;"><div qxhashcode="192" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Exit</div></div></div></div><div qxhashcode="207" class="QxWidgetCore QxMenu" style="border: 2px outset ; background-color: rgb(255, 255, 255); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 102px; height: 171px; left: 284px; top: 140px; z-index: 1000000; display: none;"><div style="left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="209" class="QxWidgetCore QxMenuLayout"><div qxhashcode="214" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 0px;"><div qxhashcode="218" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Undo</div></div><div qxhashcode="221" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 18px;"><div qxhashcode="225" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Redo</div></div><div style="height: 2px; left: 0px; right: 0px; top: 36px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="228" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="230" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="231" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 43px;"><div qxhashcode="235" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Cut</div></div><div qxhashcode="238" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 61px;"><div qxhashcode="242" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Copy</div></div><div qxhashcode="245" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 79px;"><div qxhashcode="249" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Paste</div></div><div qxhashcode="252" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 97px;"><div qxhashcode="256" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Delete</div></div><div style="height: 2px; left: 0px; right: 0px; top: 115px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="259" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="261" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="262" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 122px;"><div qxhashcode="266" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Select all</div></div><div style="height: 2px; left: 0px; right: 0px; top: 140px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="269" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="271" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="272" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 147px;"><div qxhashcode="276" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Preferences</div></div></div></div></body></html> --- NEW FILE: QxUtil.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxUtil.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> **************************************************************************** */ /* **************************************************************************** #package(core) **************************************************************************** */ QxUtil = {}; /* ******************************************************************** Simple return methods ******************************************************************** */ QxUtil.returnTrue = function() { return true; }; QxUtil.returnFalse = function() { return false; }; QxUtil.returnNull = function() { return null; }; QxUtil.returnThis = function() { return this; }; QxUtil.returnZero = function() { return 0; }; QxUtil.returnNegativeIndex = function() { return -1; }; /* ******************************************************************** Utility Methods ******************************************************************** */ /* Function to check if a hash has any keys */ QxUtil.isObjectEmpty = function(h) { for (var s in h) { return false; }; return true; }; QxUtil.isObjectMinLength = function(h, j) { var i=0; for (var s in h) { if ((++i)>=j) { return true; }; }; return false; }; QxUtil.getObjectLength = function(h) { var i=0; for (var s in h) { i++; }; return i; }; QxUtil.convertObjectToString = function(h) { return QxUtil.convertObjectToArray(h).join(", "); }; QxUtil.convertObjectToArray = function(h) { var r = []; for (var s in h) { r.push(s); }; return r; }; QxUtil.convertArgumentsToArray = function(a) { var b = []; for (var i=0, l=a.length; i<l; i++) { b.push(a[i]); }; return b; }; /* Utility function for padding/margin and all other shorthand handling. */ QxUtil.convertShortHandToArray = function(params) { var l = params.length; if (l > 4) { throw new Error("Invalid number of arguments!"); }; var v; var list = []; for (var i=0; i<l; i++) { v = params[i]; if (QxUtil.isValidNumber(v)) { list.push(v); } else if (QxUtil.isInvalidString(v)) { list.push(null); } else { throw new Error("Invalid shorthand value: " + v); }; }; // Fix Values (Shorthand) switch(l) { case 1: list[1] = list[2] = list[3] = list[0]; break; case 2: list[2] = list[0]; case 3: list[3] = list[1]; }; return list; }; /* ******************************************************************** Value validation methods ******************************************************************** */ /* All methods use the strict comparison operators as all modern browsers (needs support for JavaScript 1.3) seems to support this. http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Comparison_Operators */ QxUtil.isValid = function(v) { switch(typeof v) { case QxConst.TYPEOF_UNDEFINED: return false; case QxConst.TYPEOF_OBJECT: return v !== null; case QxConst.TYPEOF_STRING: return v !== QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return !isNaN(v); case QxConst.TYPEOF_FUNCTION: case QxConst.TYPEOF_BOOLEAN: return true; }; return false; }; QxUtil.isInvalid = function(v) { switch(typeof v) { case QxConst.TYPEOF_UNDEFINED: return true; case QxConst.TYPEOF_OBJECT: return v === null; case QxConst.TYPEOF_STRING: return v === QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return isNaN(v); case QxConst.TYPEOF_FUNCTION: case QxConst.TYPEOF_BOOLEAN: return false; }; return true; }; QxUtil.isValidNumber = function(v) { return typeof v === QxConst.TYPEOF_NUMBER && !isNaN(v); }; QxUtil.isInvalidNumber = function(v) { return typeof v !== QxConst.TYPEOF_NUMBER || isNaN(v); }; QxUtil.isValidString = function(v) { return typeof v === QxConst.TYPEOF_STRING && v !== QxConst.CORE_EMPTY; }; QxUtil.isInvalidString = function(v) { return typeof v !== QxConst.TYPEOF_STRING || v === QxConst.CORE_EMPTY; }; QxUtil.isValidArray = function(v) { return typeof v === QxConst.TYPEOF_OBJECT && v !== null && v instanceof Array; }; QxUtil.isInvalidArray = function(v) { return typeof v !== QxConst.TYPEOF_OBJECT || v === null || !(v instanceof Array); }; QxUtil.isValidObject = function(v) { return typeof v === QxConst.TYPEOF_OBJECT && v !== null && !(v instanceof Array); }; QxUtil.isInvalidObject = function(v) { return typeof v !== QxConst.TYPEOF_OBJECT || v === null || v instanceof Array; }; QxUtil.isValidFunction = function(v) { return typeof v === QxConst.TYPEOF_FUNCTION; }; QxUtil.isInvalidFunction = function(v) { return typeof v !== QxConst.TYPEOF_FUNCTION; }; QxUtil.isValidBoolean = function(v) { return typeof v === QxConst.TYPEOF_BOOLEAN; }; QxUtil.isInvalidBoolean = function(v) { return typeof v !== QxConst.TYPEOF_BOOLEAN; }; QxUtil.isValidStringOrNumber = function(v) { switch(typeof v) { case QxConst.TYPEOF_STRING: return v !== QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return !isNaN(v); }; return false; }; QxUtil.isInvalidStringOrNumber = function(v) { switch(typeof v) { case QxConst.TYPEOF_STRING: return v === QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return isNaN(v); }; return false; }; /* ******************************************************************** Component layout methods ******************************************************************** */ QxUtil.centerToBrowser = function(vComponent) { var d = window.application.getClientWindow().getClientDocument(); vComponent.setLeft((d.getClientWidth() / 2) - (vComponent.getBoxWidth() / 2)); vComponent.setTop((d.getClientHeight() / 2) - (vComponent.getBoxHeight() / 2)); }; --- NEW FILE: QxWindow.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxWindow.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) [...1395 lines suppressed...] if (this._pane) { this._pane.dispose(); this._pane = null; }; if (this._statusBar) { this._statusBar.dispose(); this._statusBar = null; }; if (this._statusText) { this._statusText.dispose(); this._statusText = null; }; return QxPopup.prototype.dispose.call(this); }; --- NEW FILE: QxFrame.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxFrame.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(window) **************************************************************************** */ function QxFrame(vCaption, vIcon) { QxWindow.call(this, vCaption, vIcon); }; QxFrame.extend(QxWindow, "QxFrame"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ /*! The main menu bar if any. */ QxFrame.addProperty({ name : "menuBar", type : QxConst.TYPEOF_OBJECT, allowNull : true, instance : QxMenuBar }); /*! The status bar if any. */ QxFrame.addProperty({ name : "statusBar", type : QxConst.TYPEOF_OBJECT, allowNull : true});//, instance : QxStatusBar }); //gets an error when instance is used??? /* ------------------------------------------------------------------------------------ MODIFIERS ------------------------------------------------------------------------------------ */ proto._modifyMenuBar = function(propValue, propOldValue, propData) { if (propValue) { this._layout.addAfter(this.getMenuBar(), this._captionBar); } else { this._layout.remove(this.getMenuBar()); }; return true; }; proto._modifyStatusBar = function(propValue, propOldValue, propData) { if (propValue) { this._layout.addAtEnd(this.getStatusBar()); } else { this._layout.remove(this.getStatusBar()); }; return true; }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; return QxWindow.prototype.dispose.call(this); }; |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:01
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/statusbar_olsen Removed Files: Tag: renderer Frame_1.html QxFrame.js QxStatusBar.js QxStatusBarPane.js QxUtil.js QxWindow.js StatusBar_1.html StatusBar_2.html Log Message: Sorry, renamed olsen to olsson --- QxUtil.js DELETED --- --- StatusBar_1.html DELETED --- --- QxStatusBarPane.js DELETED --- --- QxWindow.js DELETED --- --- Frame_1.html DELETED --- --- QxFrame.js DELETED --- --- QxStatusBar.js DELETED --- --- StatusBar_2.html DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:19:01
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/progressbar_olsson Added Files: Tag: renderer ProgressBar_1.html QxProgressBar.js Log Message: Sorry, renamed olsen to olsson --- NEW FILE: QxProgressBar.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxProgressBar.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) #require(QxRangeManager) #require(QxAtom) #require(QxTimer) **************************************************************************** */ QxConst.DIRECTION_UP = "upward"; QxConst.DIRECTION_RIGHT = "rightward"; QxConst.DIRECTION_DOWN = "downward"; QxConst.DIRECTION_LEFT = "leftward"; QxTimer.prototype.wait = function(vMilliseconds) { var vExitTime = (new Date).valueOf() + vMilliseconds; var vCurrentTime; do { vCurrentTime = (new Date).valueOf(); } while(vExitTime > vCurrentTime); }; function QxProgressBar(vDirection, vMin, vMax) { QxCanvasLayout.call(this); this.setBorder(QxBorderObject.presets.inset); this.setBackgroundColor("white"); // *********************************************************************** // RANGE MANAGER // *********************************************************************** this._manager = new QxRangeManager(); // *********************************************************************** // BAR // *********************************************************************** var barA = this._bar = new QxAtom(); barA.setBackgroundColor("red"); this.add(barA); // *********************************************************************** // TEXT - removed later, to be replaced with QxFormattedText // *********************************************************************** var label = new QxText(); label.setVerticalAlign("middle"); label.setHorizontalAlign("center"); label.setColor("white"); this.add(label); this.setLabel(label); // *********************************************************************** // TIMER // *********************************************************************** this._timer = new QxTimer(); // *********************************************************************** // EVENTS // *********************************************************************** this._manager.addEventListener(QxConst.INTERNAL_CHANGE, this._onchange, this); // *********************************************************************** // INITIALIZATION // *********************************************************************** if(QxUtil.isValidString(vDirection)) { this.setDirection(vDirection); }; if(QxUtil.isValidNumber(vMin)) { this.setMin(vMin); }; if(QxUtil.isValidNumber(vMax)) { this.setMax(vMax); }; }; QxProgressBar.extend(QxCanvasLayout, "QxProgressBar"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ /*! The direction of growth of the bar. */ QxProgressBar.addProperty({ name : "direction", type : QxConst.TYPEOF_STRING, possibleValues : [ QxConst.DIRECTION_LEFT, QxConst.DIRECTION_UP, QxConst.DIRECTION_RIGHT, QxConst.DIRECTION_DOWN], defaultValue : QxConst.DIRECTION_RIGHT }); /*! The label object. */ QxProgressBar.addProperty({ name : "label", type : QxConst.TYPEOF_OBJECT, allowNull : true }); //instance : QxFormatField /*! The amount to increment on each call to the function increment. */ QxProgressBar.addProperty({ name : "incrementAmount", type : QxConst.TYPEOF_NUMBER, defaultValue : 1 }); /*! An indeterminate progress bar indicating that an operation of unknown duration is occurring. */ QxProgressBar.addProperty({ name : "indeterminate", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); /*! The current value of the wait (this should be used internally only). */ QxProgressBar.addProperty({ name : "wait", type : QxConst.TYPEOF_NUMBER, defaultValue : 0 }); /* ------------------------------------------------------------------------------------ OTHER EVENT-HANDLING ------------------------------------------------------------------------------------ */ proto._onchange = function(e) { if(this.getParent()) { if(this.getIndeterminate()) { } else { var barSizePercent = this.getValue()/this.getMax(); var barSize; switch(this.getDirection()) { case QxConst.DIRECTION_LEFT : barSize = Math.floor(barSizePercent * this.getInnerWidth()); this._bar.setHeight(this.getInnerHeight()); this._bar.setLeft(this.getInnerWidth() - barSize); this._bar.setWidth(barSize); break; case QxConst.DIRECTION_RIGHT : barSize = Math.floor(barSizePercent * this.getInnerWidth()); this._bar.setHeight(this.getInnerHeight()); this._bar.setWidth(barSize); break; case QxConst.DIRECTION_UP : barSize = Math.floor(barSizePercent * this.getInnerHeight()); this._bar.setHeight(barSize); this._bar.setTop(this.getInnerHeight() - barSize); this._bar.setWidth(this.getInnerWidth()); break; case QxConst.DIRECTION_DOWN : barSize = Math.floor(barSizePercent * this.getInnerHeight()); this._bar.setHeight(barSize); this._bar.setWidth(this.getInnerWidth()); break; }; }; this.getLabel().setText(Math.round(100 * barSizePercent) + '%'); QxWidget.flushGlobalQueues(); this._timer.wait(this.getWait()); if (this.hasEventListeners(QxConst.INTERNAL_CHANGE)) { this.dispatchEvent(new QxEvent(QxConst.INTERNAL_CHANGE)); }; }; }; /* ------------------------------------------------------------------------------------ MAPPING TO RANGE MANAGER ------------------------------------------------------------------------------------ */ proto.setValue = function(nValue) { this._manager.setValue(nValue); }; proto.getValue = function() { return this._manager.getValue(); }; proto.resetValue = function() { return this._manager.resetValue(); }; proto.setMax = function(vMax) { return this._manager.setMax(vMax); }; proto.getMax = function() { return this._manager.getMax(); }; proto.setMin = function(vMin) { return this._manager.setMin(vMin); }; proto.getMin = function() { return this._manager.getMin(); }; /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ proto.increment = function() { var value = this.getValue() + this.getIncrementAmount(); if(value < this.getMax()) { this.setValue(value); } else { this.setValue(this.getMax()); }; }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if (this._timer) { this._timer.stop(); this._timer.dispose(); this._timer = null; }; if (this._manager) { this._manager.removeEventListener(QxConst.INTERNAL_CHANGE, this._onchange, this); this._manager.dispose(); this._manager = null; }; if (this._bar) { this._bar.dispose(); this._bar = null; }; return QxCanvasLayout.prototype.dispose.call(this); }; --- NEW FILE: ProgressBar_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <script type="text/javascript" src="QxProgressBar.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Testing ProgressBar implementation.</p> <p>The elements of the progress bar will be created on the first open of the QxProgressBar.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); // Create components var progressPB1 = new QxProgressBar(QxConst.DIRECTION_RIGHT, 1, 100); progressPB1.setTop(50); progressPB1.setLeft(50); progressPB1.setHeight(20); progressPB1.setWidth(100); progressPB1.setWait(1000); var progressPB2 = new QxProgressBar(QxConst.DIRECTION_DOWN, 1, 100); progressPB2.setTop(50); progressPB2.setLeft(200); progressPB2.setHeight(100); progressPB2.setWidth(20); var progressPB3 = new QxProgressBar(QxConst.DIRECTION_LEFT, 1, 100); progressPB3.setTop(200); progressPB3.setLeft(50); progressPB3.setHeight(20); progressPB3.setWidth(100); progressPB3.setWait(5000); var progressPB4 = new QxProgressBar(QxConst.DIRECTION_UP, 1, 100); progressPB4.setTop(200); progressPB4.setLeft(200); progressPB4.setHeight(100); progressPB4.setWidth(20); var progressPB5 = new QxProgressBar(QxConst.DIRECTION_RIGHT, 1, 100); progressPB5.setIndeterminate(true); progressPB5.setTop(400); progressPB5.setLeft(50); progressPB5.setHeight(30); progressPB5.setWidth(200); doc.add(progressPB1, progressPB2, progressPB3, progressPB4, progressPB5); for(var i=1; i<=100; i++) { progressPB1.setValue(i); progressPB2.setValue(i); progressPB3.setValue(i); progressPB4.setValue(i); }; }; </script> </body> </html> |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/statusbar_olsson Added Files: Tag: renderer Frame_1.html QxFrame.js QxStatusBar.js QxStatusBarPane.js QxUtil.js QxWindow.js StatusBar_1.html StatusBar_2.html Log Message: Sorry, renamed olsen to olsson --- NEW FILE: QxUtil.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxUtil.js,v 1.1.2.1 2006/01/24 14:18:51 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) <sebastian dot werner at 1und1 dot de> * Andreas Ecker (aecker) <andreas dot ecker at 1und1 dot de> **************************************************************************** */ /* **************************************************************************** #package(core) **************************************************************************** */ QxUtil = {}; /* ******************************************************************** Simple return methods ******************************************************************** */ QxUtil.returnTrue = function() { return true; }; QxUtil.returnFalse = function() { return false; }; QxUtil.returnNull = function() { return null; }; QxUtil.returnThis = function() { return this; }; QxUtil.returnZero = function() { return 0; }; QxUtil.returnNegativeIndex = function() { return -1; }; /* ******************************************************************** Utility Methods ******************************************************************** */ /* Function to check if a hash has any keys */ QxUtil.isObjectEmpty = function(h) { for (var s in h) { return false; }; return true; }; QxUtil.isObjectMinLength = function(h, j) { var i=0; for (var s in h) { if ((++i)>=j) { return true; }; }; return false; }; QxUtil.getObjectLength = function(h) { var i=0; for (var s in h) { i++; }; return i; }; QxUtil.convertObjectToString = function(h) { return QxUtil.convertObjectToArray(h).join(", "); }; QxUtil.convertObjectToArray = function(h) { var r = []; for (var s in h) { r.push(s); }; return r; }; QxUtil.convertArgumentsToArray = function(a) { var b = []; for (var i=0, l=a.length; i<l; i++) { b.push(a[i]); }; return b; }; /* Utility function for padding/margin and all other shorthand handling. */ QxUtil.convertShortHandToArray = function(params) { var l = params.length; if (l > 4) { throw new Error("Invalid number of arguments!"); }; var v; var list = []; for (var i=0; i<l; i++) { v = params[i]; if (QxUtil.isValidNumber(v)) { list.push(v); } else if (QxUtil.isInvalidString(v)) { list.push(null); } else { throw new Error("Invalid shorthand value: " + v); }; }; // Fix Values (Shorthand) switch(l) { case 1: list[1] = list[2] = list[3] = list[0]; break; case 2: list[2] = list[0]; case 3: list[3] = list[1]; }; return list; }; /* ******************************************************************** Value validation methods ******************************************************************** */ /* All methods use the strict comparison operators as all modern browsers (needs support for JavaScript 1.3) seems to support this. http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Comparison_Operators */ QxUtil.isValid = function(v) { switch(typeof v) { case QxConst.TYPEOF_UNDEFINED: return false; case QxConst.TYPEOF_OBJECT: return v !== null; case QxConst.TYPEOF_STRING: return v !== QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return !isNaN(v); case QxConst.TYPEOF_FUNCTION: case QxConst.TYPEOF_BOOLEAN: return true; }; return false; }; QxUtil.isInvalid = function(v) { switch(typeof v) { case QxConst.TYPEOF_UNDEFINED: return true; case QxConst.TYPEOF_OBJECT: return v === null; case QxConst.TYPEOF_STRING: return v === QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return isNaN(v); case QxConst.TYPEOF_FUNCTION: case QxConst.TYPEOF_BOOLEAN: return false; }; return true; }; QxUtil.isValidNumber = function(v) { return typeof v === QxConst.TYPEOF_NUMBER && !isNaN(v); }; QxUtil.isInvalidNumber = function(v) { return typeof v !== QxConst.TYPEOF_NUMBER || isNaN(v); }; QxUtil.isValidString = function(v) { return typeof v === QxConst.TYPEOF_STRING && v !== QxConst.CORE_EMPTY; }; QxUtil.isInvalidString = function(v) { return typeof v !== QxConst.TYPEOF_STRING || v === QxConst.CORE_EMPTY; }; QxUtil.isValidArray = function(v) { return typeof v === QxConst.TYPEOF_OBJECT && v !== null && v instanceof Array; }; QxUtil.isInvalidArray = function(v) { return typeof v !== QxConst.TYPEOF_OBJECT || v === null || !(v instanceof Array); }; QxUtil.isValidObject = function(v) { return typeof v === QxConst.TYPEOF_OBJECT && v !== null && !(v instanceof Array); }; QxUtil.isInvalidObject = function(v) { return typeof v !== QxConst.TYPEOF_OBJECT || v === null || v instanceof Array; }; QxUtil.isValidFunction = function(v) { return typeof v === QxConst.TYPEOF_FUNCTION; }; QxUtil.isInvalidFunction = function(v) { return typeof v !== QxConst.TYPEOF_FUNCTION; }; QxUtil.isValidBoolean = function(v) { return typeof v === QxConst.TYPEOF_BOOLEAN; }; QxUtil.isInvalidBoolean = function(v) { return typeof v !== QxConst.TYPEOF_BOOLEAN; }; QxUtil.isValidStringOrNumber = function(v) { switch(typeof v) { case QxConst.TYPEOF_STRING: return v !== QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return !isNaN(v); }; return false; }; QxUtil.isInvalidStringOrNumber = function(v) { switch(typeof v) { case QxConst.TYPEOF_STRING: return v === QxConst.CORE_EMPTY; case QxConst.TYPEOF_NUMBER: return isNaN(v); }; return false; }; /* ******************************************************************** Component layout methods ******************************************************************** */ QxUtil.centerToBrowser = function(vComponent) { var d = window.application.getClientWindow().getClientDocument(); vComponent.setLeft((d.getClientWidth() / 2) - (vComponent.getBoxWidth() / 2)); vComponent.setTop((d.getClientHeight() / 2) - (vComponent.getBoxHeight() / 2)); }; --- NEW FILE: StatusBar_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Testing StatusBar implementation.</p> <p>The elements of the status bar will be created on the first open of the QxStatusBar.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var mainW = new QxWindow("Test of status bar"); mainW.setSpace(20, 400, 48, 250); var mainDL = new QxDockLayout(); mainDL.setHeight("100%"); mainDL.setWidth("100%"); mainDL.setBorder(2, "inset"); mainDL.setBackgroundColor("white"); var statusSB = new QxStatusBar(); var statusL = new QxLabel("Ready"); var statusSBP1 = new QxStatusBarPane(statusL); statusSBP1.setWidth("50%"); var numL = new QxLabel(); var statusSBP2 = new QxStatusBarPane(numL); statusSBP2.setWidth(30); statusSBP2.setLeft(95); var win = this.getClientWindow(); // win.addEventListener(QxConst.EVENT_TYPE_KEYDOWN, win._onkeydown, win); function _onkeydown(e) { if(e.getKeyCode() == 90) // The NUM key { numL.setHtml("NUM"); } else { numL.setHtml(""); }; }; var digitalClockC = new QxClockDigital(); var statusSBP3 = new QxStatusBarPane(digitalClockC); statusSBP3.setLeft(98); statusSB.add(statusSBP1, statusSBP2, statusSBP3); mainDL.addBottom(statusSB); mainW.add(mainDL); doc.add(mainW); mainW.open(); }; </script> </body> </html> --- NEW FILE: QxStatusBarPane.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxStatusBarPane.js,v 1.1.2.1 2006/01/24 14:18:51 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxStatusBarPane(vComponent) { QxCanvasLayout.call(this); this.setWidth(QxConst.CORE_AUTO); this._component = vComponent; vComponent.setPaddingLeft(1); vComponent.setPaddingRight(1); this.add(vComponent); }; QxStatusBarPane.extend(QxCanvasLayout, "QxStatusBarPane"); /* ------------------------------------------------------------------------------------ STYLES & BEHAVIOR ------------------------------------------------------------------------------------ */ proto._applyInitialStyle = function() { this.setBorder(QxBorderObject.presets.inset); this.setColor("windowtext"); this.setBackgroundColor("threedface"); // this.setBorder(1, QxConst.BORDER_STYLE_INSET, "windowtext"); }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if (this._component) { this._component.dispose(); this._component = null; }; return QxCanvasLayout.prototype.dispose.call(this); }; --- NEW FILE: QxWindow.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxWindow.js,v 1.1.2.1 2006/01/24 14:18:51 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Sebastian Werner (wpbasti) [...1395 lines suppressed...] if (this._pane) { this._pane.dispose(); this._pane = null; }; if (this._statusBar) { this._statusBar.dispose(); this._statusBar = null; }; if (this._statusText) { this._statusText.dispose(); this._statusText = null; }; return QxPopup.prototype.dispose.call(this); }; --- NEW FILE: Frame_1.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"><head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <meta http-equiv="MsThemeCompatible" content="yes"> <meta http-equiv="ImageToolBar" content="no"> <meta name="MSSmartTagsPreventParsing" content="yes"><title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="Frame_1_files/qooxdoo.css"> <link type="text/css" rel="stylesheet" href="Frame_1_files/demolayout.css"> <script type="text/javascript" src="Frame_1_files/includer"></script><script type="text/javascript" src="Frame_1_files/QxMain"></script><script type="text/javascript" src="Frame_1_files/QxConst"></script><script type="text/javascript" src="Frame_1_files/QxExtend"></script><script type="text/javascript" src="Frame_1_files/QxClient"></script><script type="text/javascript" src="Frame_1_files/QxNative"></script><script type="text/javascript" src="Frame_1_files/QxUtil"></script><script type="text/javascript" src="Frame_1_files/QxCompare"></script><script type="text/javascript" src="Frame_1_files/QxObject"></script><script type="text/javascript" src="Frame_1_files/QxDom"></script><script type="text/javascript" src="Frame_1_files/QxDebug"></script><script type="text/javascript" src="Frame_1_files/QxTarget"></script><script type="text/javascript" src="Frame_1_files/QxApplication"></script><script type="text/javascript" src="Frame_1_files/QxClientWindow"></script><script type="text/javascript" src="Frame_1_files/QxManager"></script><script type="text/javascript" src="Frame_1_files/QxEvent"></script><script type="text/javascript" src="Frame_1_files/QxDomEvent"></script><script type="text/javascript" src="Frame_1_files/QxMouseEvent"></script><script type="text/javascript" src="Frame_1_files/QxMouseEventCore"></script><script type="text/javascript" src="Frame_1_files/QxKeyEvent"></script><script type="text/javascript" src="Frame_1_files/QxKeyEventCore"></script><script type="text/javascript" src="Frame_1_files/QxFocusEvent"></script><script type="text/javascript" src="Frame_1_files/QxDataEvent"></script><script type="text/javascript" src="Frame_1_files/QxColorManager"></script><script type="text/javascript" src="Frame_1_files/QxColorTheme"></script><script type="text/javascript" src="Frame_1_files/QxColor"></script><script type="text/javascript" src="Frame_1_files/QxColorObject"></script><script type="text/javascript" src="Frame_1_files/QxColorCore"></script><script type="text/javascript" src="Frame_1_files/QxColorCache"></script><script type="text/javascript" src="Frame_1_files/QxColorThemePresets"></script><script type="text/javascript" src="Frame_1_files/QxBorder"></script><script type="text/javascript" src="Frame_1_files/QxBorderObject"></script><script type="text/javascript" src="Frame_1_files/QxBorderCache"></script><script type="text/javascript" src="Frame_1_files/QxBorderPresets"></script><script type="text/javascript" src="Frame_1_files/QxBorderObjectPresets"></script><script type="text/javascript" src="Frame_1_files/QxFont"></script><script type="text/javascript" src="Frame_1_files/QxFontObject"></script><script type="text/javascript" src="Frame_1_files/QxFontCache"></script><script type="text/javascript" src="Frame_1_files/QxWidget"></script><script type="text/javascript" src="Frame_1_files/QxWidgetCore"></script><script type="text/javascript" src="Frame_1_files/QxLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxCanvasLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxHorizontalBoxLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxVerticalBoxLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxFlowLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxDockLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxGridLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxParent"></script><script type="text/javascript" src="Frame_1_files/QxTerminator"></script><script type="text/javascript" src="Frame_1_files/QxCanvasLayout"></script><script type="text/javascript" src="Frame_1_files/QxBlocker"></script><script type="text/javascript" src="Frame_1_files/QxClientDocument"></script><script type="text/javascript" src="Frame_1_files/QxInline"></script><script type="text/javascript" src="Frame_1_files/QxHorizontalSpacer"></script><script type="text/javascript" src="Frame_1_files/QxVerticalSpacer"></script><script type="text/javascript" src="Frame_1_files/QxEventManager"></script><script type="text/javascript" src="Frame_1_files/QxFocusManager"></script><script type="text/javascript" src="Frame_1_files/QxTextile"></script><script type="text/javascript" src="Frame_1_files/QxTextField"></script><script type="text/javascript" src="Frame_1_files/QxPasswordField"></script><script type="text/javascript" src="Frame_1_files/QxTextArea"></script><script type="text/javascript" src="Frame_1_files/QxTimer"></script><script type="text/javascript" src="Frame_1_files/QxXmlExtras"></script><script type="text/javascript" src="Frame_1_files/QxXmlHttpLoader"></script><script type="text/javascript" src="Frame_1_files/QxData"></script><script type="text/javascript" src="Frame_1_files/QxImageManager"></script><script type="text/javascript" src="Frame_1_files/QxImagePreloaderManager"></script><script type="text/javascript" src="Frame_1_files/QxImagePreloader"></script><script type="text/javascript" src="Frame_1_files/QxImage"></script><script type="text/javascript" src="Frame_1_files/QxDragEvent"></script><script type="text/javascript" src="Frame_1_files/QxDragAndDropManager"></script><script type="text/javascript" src="Frame_1_files/QxBoxLayout"></script><script type="text/javascript" src="Frame_1_files/QxVerticalBoxLayout"></script><script type="text/javascript" src="Frame_1_files/QxHorizontalBoxLayout"></script><script type="text/javascript" src="Frame_1_files/QxFlowLayout"></script><script type="text/javascript" src="Frame_1_files/QxDockLayout"></script><script type="text/javascript" src="Frame_1_files/QxGridLayout"></script><script type="text/javascript" src="Frame_1_files/QxText"></script><script type="text/javascript" src="Frame_1_files/QxHtml"></script><script type="text/javascript" src="Frame_1_files/QxLink"></script><script type="text/javascript" src="Frame_1_files/QxIconHtml"></script><script type="text/javascript" src="Frame_1_files/QxNode"></script><script type="text/javascript" src="Frame_1_files/QxLabel"></script><script type="text/javascript" src="Frame_1_files/QxLabelCore"></script><script type="text/javascript" src="Frame_1_files/QxAtom"></script><script type="text/javascript" src="Frame_1_files/QxButton"></script><script type="text/javascript" src="Frame_1_files/QxRepeatButton"></script><script type="text/javascript" src="Frame_1_files/QxRadioManager"></script><script type="text/javascript" src="Frame_1_files/QxInputCheckIcon"></script><script type="text/javascript" src="Frame_1_files/QxCheckBox"></script><script type="text/javascript" src="Frame_1_files/QxRadioButton"></script><script type="text/javascript" src="Frame_1_files/QxPopupManager"></script><script type="text/javascript" src="Frame_1_files/QxPopup"></script><script type="text/javascript" src="Frame_1_files/QxPopupAtom"></script><script type="text/javascript" src="Frame_1_files/QxToolTipManager"></script><script type="text/javascript" src="Frame_1_files/QxToolTip"></script><script type="text/javascript" src="Frame_1_files/QxFieldSet"></script><script type="text/javascript" src="Frame_1_files/QxCheckBoxFieldSet"></script><script type="text/javascript" src="Frame_1_files/QxRadioButtonFieldSet"></script><script type="text/javascript" src="Frame_1_files/QxIframe"></script><script type="text/javascript" src="Frame_1_files/QxMenuManager"></script><script type="text/javascript" src="Frame_1_files/QxMenuLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxMenuLayout"></script><script type="text/javascript" src="Frame_1_files/QxMenu"></script><script type="text/javascript" src="Frame_1_files/QxMenuButtonLayoutImpl"></script><script type="text/javascript" src="Frame_1_files/QxMenuButton"></script><script type="text/javascript" src="Frame_1_files/QxMenuCheckBox"></script><script type="text/javascript" src="Frame_1_files/QxMenuRadioButton"></script><script type="text/javascript" src="Frame_1_files/QxMenuSeparator"></script><script type="text/javascript" src="Frame_1_files/QxToolBar"></script><script type="text/javascript" src="Frame_1_files/QxToolBarPart"></script><script type="text/javascript" src="Frame_1_files/QxToolBarPartHandle"></script><script type="text/javascript" src="Frame_1_files/QxToolBarButton"></script><script type="text/javascript" src="Frame_1_files/QxToolBarSeparator"></script><script type="text/javascript" src="Frame_1_files/QxToolBarCheckBox"></script><script type="text/javascript" src="Frame_1_files/QxToolBarRadioButton"></script><script type="text/javascript" src="Frame_1_files/QxToolBarMenuButton"></script><script type="text/javascript" src="Frame_1_files/QxMenuBar"></script><script type="text/javascript" src="Frame_1_files/QxMenuBarButton"></script><script type="text/javascript" src="Frame_1_files/QxSelectionStorage"></script><script type="text/javascript" src="Frame_1_files/QxSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxList"></script><script type="text/javascript" src="Frame_1_files/QxListItem"></script><script type="text/javascript" src="Frame_1_files/QxComboBox"></script><script type="text/javascript" src="Frame_1_files/QxDateComboBox"></script><script type="text/javascript" src="Frame_1_files/QxRangeManager"></script><script type="text/javascript" src="Frame_1_files/QxSpinner"></script><script type="text/javascript" src="Frame_1_files/QxCommand"></script><script type="text/javascript" src="Frame_1_files/QxWindowManager"></script><script type="text/javascript" src="Frame_1_files/QxWindow"></script><script type="text/javascript" src="Frame_1_files/QxFrame"></script><script type="text/javascript" src="Frame_1_files/QxNativeWindow"></script><script type="text/javascript" src="Frame_1_files/QxSplashScreen"></script><script type="text/javascript" src="Frame_1_files/QxFlashPlayerVersion"></script><script type="text/javascript" src="Frame_1_files/QxFlash"></script><script type="text/javascript" src="Frame_1_files/QxEmu"></script><script type="text/javascript" src="Frame_1_files/QxCommonView"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewBar"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewPane"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewPage"></script><script type="text/javascript" src="Frame_1_files/QxCommonViewButton"></script><script type="text/javascript" src="Frame_1_files/QxTabView"></script><script type="text/javascript" src="Frame_1_files/QxTabViewBar"></script><script type="text/javascript" src="Frame_1_files/QxTabViewPane"></script><script type="text/javascript" src="Frame_1_files/QxTabViewPage"></script><script type="text/javascript" src="Frame_1_files/QxTabViewButton"></script><script type="text/javascript" src="Frame_1_files/QxBarView"></script><script type="text/javascript" src="Frame_1_files/QxBarViewBar"></script><script type="text/javascript" src="Frame_1_files/QxBarViewPane"></script><script type="text/javascript" src="Frame_1_files/QxBarViewPage"></script><script type="text/javascript" src="Frame_1_files/QxBarViewButton"></script><script type="text/javascript" src="Frame_1_files/QxOutlookBarView"></script><script type="text/javascript" src="Frame_1_files/QxOutlookBarViewButton"></script><script type="text/javascript" src="Frame_1_files/QxListView"></script><script type="text/javascript" src="Frame_1_files/QxDatePicker"></script><script type="text/javascript" src="Frame_1_files/QxStatusBar"></script><script type="text/javascript" src="Frame_1_files/QxStatusBarPane"></script><script type="text/javascript" src="Frame_1_files/QxProgressBar"></script><script type="text/javascript" src="Frame_1_files/QxSplitPane"></script><script type="text/javascript" src="Frame_1_files/QxButtonPane"></script><script type="text/javascript" src="Frame_1_files/QxOptionPane"></script><script type="text/javascript" src="Frame_1_files/QxScroller"></script><script type="text/javascript" src="Frame_1_files/QxTreeSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxTreeElement"></script><script type="text/javascript" src="Frame_1_files/QxTreeFile"></script><script type="text/javascript" src="Frame_1_files/QxTreeFolder"></script><script type="text/javascript" src="Frame_1_files/QxTree"></script><script type="text/javascript" src="Frame_1_files/QxVirtualSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxListView"></script><script type="text/javascript" src="Frame_1_files/QxListViewHeader"></script><script type="text/javascript" src="Frame_1_files/QxListViewPane"></script><script type="text/javascript" src="Frame_1_files/QxListViewHeaderCell"></script><script type="text/javascript" src="Frame_1_files/QxListViewHeaderSeparator"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellText"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellImage"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellHtml"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellLink"></script><script type="text/javascript" src="Frame_1_files/QxListViewContentCellIconHtml"></script><script type="text/javascript" src="Frame_1_files/QxDomSelectionManager"></script><script type="text/javascript" src="Frame_1_files/QxGallery"></script><script type="text/javascript" src="Frame_1_files/QxGalleryList"></script><script type="text/javascript" src="Frame_1_files/QxClock"></script><script type="text/javascript" src="Frame_1_files/QxClockAnalog"></script><script type="text/javascript" src="Frame_1_files/QxClockDigital"></script><script type="text/javascript" src="Frame_1_files/QxClockBinary"></script><script type="text/javascript" src="Frame_1_files/QxCookie"></script><script type="text/javascript" src="Frame_1_files/QxTimeTracker"></script><style type="text/css"></style></head> <body style="background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-user-focus: normal;"> <script type="text/javascript" src="Frame_1_files/demolayout"></script><div id="testHead">qooxdoo: <span>The new era of web interface development</span> | DEVELOPMENT BRANCH</div><div id="testFoot">[<a href="javascript:void(window.location.href=window.location.href.replace(/\/source\//, '\/public\/'))">Go to: Public</a>] [<a href="http://www.perevotech.com/qooxdoo/source/test/developer/Index.html">Go to: Developer Examples</a>] </div><div id="testDebug"><div class="head"><button>clear</button><button>hide</button><button>show</button><button>dispose</button></div><div class="log"><div class="group">QxInit</div><div class="message message-info">003471: qooxdoo/0.2_beta-3</div><div class="message message-info">003490: datestamp/20051230</div><div class="group">QxApplication[HASHCODE:0]</div><div class="message message-default">053420: Loading Data: 53419ms</div><div class="message message-info">053447: Available Classes: 152</div><div class="message message-info">053452: Client Detection: gecko 1.7.12</div><div class="message message-default">053686: Initialize Application: 240ms</div><div class="message message-info">053691: Created Instances: 81</div><div class="message message-default">054384: Executing User Application: 693ms</div><div class="message message-default">054411: Preloading Images: 23ms</div><div class="message message-info">055087: Created Instances: 261</div><div class="message message-default">055091: Initialize Interface: 549ms</div><div class="message message-default">055863: Postloading Images: 34ms</div></div></div><div id="testFrame"> </div><select id="testFiles" size="5" onchange="window.location.href=this.options[this.selectedIndex].value"><option value="Atom_1.html">Atom 1</option><option value="Atom_2.html">Atom 2</option><option value="Atom_3.html">Atom 3</option><option value="Bar_View_1.html">Bar View 1</option><option value="Bar_View_2.html">Bar View 2</option><option value="Border_1.html">Border 1</option><option value="Box_Layout_1.html">Box Layout 1</option><option value="Box_Layout_2.html">Box Layout 2</option><option value="Box_Layout_3.html">Box Layout 3</option><option value="Box_Layout_4.html">Box Layout 4</option><option value="Box_Layout_5.html">Box Layout 5</option><option value="Box_Layout_6.html">Box Layout 6</option><option value="Box_Layout_7.html">Box Layout 7</option><option value="Box_Layout_8.html">Box Layout 8</option><option value="Button_1.html">Button 1</option><option value="Button_2.html">Button 2</option><option value="Canvas_Layout_1.html">Canvas Layout 1</option><option value="Checkbox_1.html">Checkbox 1</option><option value="Clipping_1.html">Clipping 1</option><option value="Clock_1.html">Clock 1</option><option value="Color_Themes_1.html">Color Themes 1</option><option value="Color_Themes_2.html">Color Themes 2</option><option value="Color_Themes_3.html">Color Themes 3</option><option value="Combobox_1.html">Combobox 1</option><option value="Combobox_2.html">Combobox 2</option><option value="Combobox_3.html">Combobox 3</option><option value="Combobox_4.html">Combobox 4</option><option value="Cookie_1.html">Cookie 1</option><option value="Data_Handling_1.html">Data Handling 1</option><option value="Data_Handling_2.html">Data Handling 2</option><option value="Dock_Layout_1.html">Dock Layout 1</option><option value="Dock_Layout_2.html">Dock Layout 2</option><option value="Dock_Layout_3.html">Dock Layout 3</option><option value="Dock_Layout_4.html">Dock Layout 4</option><option value="Dock_Layout_5.html">Dock Layout 5</option><option value="Dock_Layout_6.html">Dock Layout 6</option><option value="Drag_And_Drop_1.html">Drag And Drop 1</option><option value="Drag_And_Drop_2.html">Drag And Drop 2</option><option value="Enabled_Disabled_1.html">Enabled Disabled 1</option><option value="Fields_1.html">Fields 1</option><option value="Fields_2.html">Fields 2</option><option value="Fieldset_1.html">Fieldset 1</option><option value="Fieldset_2.html">Fieldset 2</option><option value="Fieldset_3.html">Fieldset 3</option><option value="Fieldset_4.html">Fieldset 4</option><option value="Flash_1.html">Flash 1</option><option value="Flow_Layout_1.html">Flow Layout 1</option><option value="Flow_Layout_2.html">Flow Layout 2</option><option value="Flow_Layout_3.html">Flow Layout 3</option><option value="Focus_Manager_1.html">Focus Manager 1</option><option value="Font_1.html">Font 1</option><option value="Frame_1.html" selected="selected">Frame 1</option><option value="Gallery_1.html">Gallery 1</option><option value="Gallery_2.html">Gallery 2</option><option value="Gallery_3.html">Gallery 3</option><option value="Gallery_List_1.html">Gallery List 1</option><option value="Grid_Layout_10.html">Grid Layout 10</option><option value="Grid_Layout_11.html">Grid Layout 11</option><option value="Grid_Layout_1.html">Grid Layout 1</option><option value="Grid_Layout_2.html">Grid Layout 2</option><option value="Grid_Layout_3.html">Grid Layout 3</option><option value="Grid_Layout_4.html">Grid Layout 4</option><option value="Grid_Layout_5.html">Grid Layout 5</option><option value="Grid_Layout_6.html">Grid Layout 6</option><option value="Grid_Layout_7.html">Grid Layout 7</option><option value="Grid_Layout_8.html">Grid Layout 8</option><option value="Grid_Layout_9.html">Grid Layout 9</option><option value="IconHtml_1.html">IconHtml 1</option><option value="Iframe_1.html">Iframe 1</option><option value="Image_1.html">Image 1</option><option value="Image_2.html">Image 2</option><option value="Index.html">Index</option><option value="Inline_1.html">Inline 1</option><option value="Label_1.html">Label 1</option><option value="Label_2.html">Label 2</option><option value="Label_3.html">Label 3</option><option value="Label_4.html">Label 4</option><option value="Link_1.html">Link 1</option><option value="List_1.html">List 1</option><option value="List_2.html">List 2</option><option value="List_3.html">List 3</option><option value="List_4.html">List 4</option><option value="List_View_10.html">List View 10</option><option value="List_View_11.html">List View 11</option><option value="List_View_12.html">List View 12</option><option value="List_View_13.html">List View 13</option><option value="List_View_14.html">List View 14</option><option value="List_View_1b.html">List View 1b</option><option value="List_View_1.html">List View 1</option><option value="List_View_2b.html">List View 2b</option><option value="List_View_2.html">List View 2</option><option value="List_View_3b.html">List View 3b</option><option value="List_View_3.html">List View 3</option><option value="List_View_4.html">List View 4</option><option value="List_View_5.html">List View 5</option><option value="List_View_6.html">List View 6</option><option value="List_View_7.html">List View 7</option><option value="List_View_8.html">List View 8</option><option value="List_View_9.html">List View 9</option><option value="Menu_1.html">Menu 1</option><option value="Menu_2.html">Menu 2</option><option value="Menu_3.html">Menu 3</option><option value="Native_Window_1.html">Native Window 1</option><option value="Node_1.html">Node 1</option><option value="OptionPane_1.html">OptionPane 1</option><option value="OptionPane_2.html">OptionPane 2</option><option value="ProgressBar_1.html">ProgressBar 1</option><option value="Radiobutton_1.html">Radiobutton 1</option><option value="Repeat_Button_1.html">Repeat Button 1</option><option value="Rounded_Corners_1.html">Rounded Corners 1</option><option value="Scroller_1.html">Scroller 1</option><option value="Spinner_1.html">Spinner 1</option><option value="SplashScreen_1.html">SplashScreen 1</option><option value="StatusBar_1.html">StatusBar 1</option><option value="StatusBar_2.html">StatusBar 2</option><option value="Tab_View_1.html">Tab View 1</option><option value="Toolbar_1.html">Toolbar 1</option><option value="Toolbar_2.html">Toolbar 2</option><option value="Toolbar_3.html">Toolbar 3</option><option value="Toolbar_4.html">Toolbar 4</option><option value="Toolbar_5.html">Toolbar 5</option><option value="Toolbar_6.html">Toolbar 6</option><option value="Toolbar_7.html">Toolbar 7</option><option value="Toolbar_8.html">Toolbar 8</option><option value="Tooltip_1.html">Tooltip 1</option><option value="Tree_1.html">Tree 1</option><option value="Tree_2.html">Tree 2</option><option value="Tree_3.html">Tree 3</option><option value="Tree_4.html">Tree 4</option><option value="Tree_5.html">Tree 5</option><option value="Tree_6.html">Tree 6</option><option value="Tree_7.html">Tree 7</option><option value="User_Data_1.html">User Data 1</option><option value="Window_1.html">Window 1</option><option value="Window_2.html">Window 2</option><option value="Window_3.html">Window 3</option><option value="Window_4.html">Window 4</option><option value="Window_5.html">Window 5</option></select> <div id="testDescription"> <p>Testing StatusBar implementation.</p> <p>The elements of the status bar will be created on the first open of the QxStatusBar.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var mainF = new QxFrame("Test of status bar"); mainF.setSpace(20, 400, 48, 250); mainF.setMenuBar(createMenuBar()); mainF.setStatusBar(createStatusBar()); mainF.addEventListener(QxConst.EVENT_TYPE_KEYDOWN, function _onkeydown(e) { if(e.getKeyCode() == 90) // The NUM key { numL.setHtml("NUM"); } else { numL.setHtml(""); }; }); doc.add(mainF); mainF.open(); function createMenuBar() { var menuMB = new QxMenuBar(); var fileM = new QxMenu(); var newMB = new QxMenuButton("New"); var openMB = new QxMenuButton("Open"); var saveAsMB = new QxMenuButton("Save as.."); var mailS = new QxMenuSeparator(); var closeMB = new QxMenuButton("Close"); var exitMB = new QxMenuButton("Exit"); exitMB.addEventListener("execute", function() { mainF.close(); }); fileM.add(newMB, openMB, saveAsMB, mailS, closeMB, exitMB); var fileMBB = new QxMenuBarButton("File", fileM); // Edit Menu var editM = new QxMenu(); var undoMB = new QxMenuButton("Undo"); var redoMB = new QxMenuButton("Redo"); var editS1 = new QxMenuSeparator(); var cutMB = new QxMenuButton("Cut"); var copyMB = new QxMenuButton("Copy"); var pasteMB = new QxMenuButton("Paste"); var deleteMB = new QxMenuButton("Delete"); var editS2 = new QxMenuSeparator(); var selectAllMB = new QxMenuButton("Select all"); var editS3 = new QxMenuSeparator(); var preferencesMB = new QxMenuButton("Preferences"); editM.add(undoMB, redoMB, editS1, cutMB, copyMB, pasteMB, deleteMB, editS2, selectAllMB, editS3, preferencesMB); var editMBB = new QxMenuBarButton("Edit",editM); doc.add(fileM, editM); menuMB.add(fileMBB, editMBB); return menuMB; }; function createStatusBar() { var statusSB = new QxStatusBar(); var statusL = new QxLabel("Ready"); var statusSBP1 = new QxStatusBarPane(statusL); statusSBP1.setWidth("50%"); var numL = new QxLabel(); var statusSBP2 = new QxStatusBarPane(numL); statusSBP2.setWidth(30); statusSBP2.setLeft(95); var digitalClockC = new QxClockDigital(); var statusSBP3 = new QxStatusBarPane(digitalClockC); statusSBP3.setLeft(98); statusSB.add(statusSBP1, statusSBP2, statusSBP3); return statusSB; }; }; </script> <div style="height: auto; width: auto; visibility: hidden; position: absolute; z-index: -1;">3:21:16 PM</div><div qxhashcode="89" class="QxWidgetCore QxFrame" style="border: 2px outset ; z-index: 1000000; background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-user-focus: normal; -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); height: 250px; min-height: 71px; min-width: 160px; left: 255px; top: 97px; width: 409px; cursor: s-resize;"><div style="left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="93" class="QxWidgetCore QxVerticalBoxLayout"><div style="height: 19px; background-color: rgb(51, 94, 168); color: rgb(255, 255, 255); left: 0px; right: 0px; top: 0px;" qxhashcode="96" class="QxWidgetCore QxHorizontalBoxLayout"><div qxhashcode="99" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; margin-right: 2px; left: 2px; top: 9px;"><img src="Frame_1_files/blank" height="1" width="1"></div><div qxhashcode="100" class="QxWidgetCore QxLabel" style="-moz-user-select: none; cursor: default; font-weight: bold; margin-right: 2px; left: 5px; top: 2px;">Test of status bar</div><div style="min-height: 16px; width: 249px; left: 100px; top: 1px; bottom: 2px;" qxhashcode="101" class="QxWidgetCore QxHorizontalSpacer"></div><div qxhashcode="102" class="QxWidgetCore QxButton" style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: ignore; cursor: default; background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 17px; height: 15px; left: 349px; top: 2px;"><div qxhashcode="105" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 2px; top: 1px;"><img src="Frame_1_files/minimize" height="9" width="9"></div></div><div qxhashcode="119" class="QxWidgetCore QxButton" style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: ignore; cursor: default; background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 17px; height: 15px; left: 366px; top: 2px;"><div qxhashcode="122" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 2px; top: 1px;"><img src="Frame_1_files/maximize" height="9" width="9"></div></div><div qxhashcode="124" class="QxWidgetCore QxButton" style="border: 2px outset ; -moz-user-select: none; -moz-user-focus: ignore; cursor: default; background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); margin-left: 2px; width: 16px; height: 15px; left: 383px; top: 2px;"><div qxhashcode="127" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 1px; top: 1px;"><img src="Frame_1_files/close" height="9" width="10"></div></div></div><div style="border: 1px outset ; -moz-border-left-colors: rgb(255, 255, 255); -moz-border-right-colors: rgb(167, 166, 170); -moz-border-top-colors: rgb(255, 255, 255); -moz-border-bottom-colors: rgb(167, 166, 170); height: 22px; left: 0px; right: 0px; top: 19px;" qxhashcode="138" class="QxWidgetCore QxMenuBar"><div qxhashcode="196" class="QxWidgetCore QxMenuBarButton" style="-moz-user-select: none; cursor: default; background-color: rgb(235, 233, 237); width: 25px; left: 0px; top: 0px; bottom: 0px;"><div qxhashcode="199" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 4px; top: 3px;">File</div></div><div qxhashcode="279" class="QxWidgetCore QxMenuBarButton" style="-moz-user-select: none; cursor: default; background-color: rgb(235, 233, 237); width: 26px; left: 25px; top: 0px; bottom: 0px;"><div qxhashcode="282" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 4px; top: 3px;">Edit</div></div></div><div style="height: 179px; left: 0px; right: 0px; top: 41px;" qxhashcode="129" class="QxWidgetCore QxCanvasLayout"></div><div qxhashcode="283" class="QxWidgetCore QxStatusBar" style="border: 1px outset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); overflow: hidden; -moz-border-left-colors: rgb(255, 255, 255); -moz-border-right-colors: rgb(167, 166, 170); -moz-border-top-colors: rgb(255, 255, 255); -moz-border-bottom-colors: rgb(167, 166, 170); height: 24px; left: 0px; right: 0px; top: 220px;"><div qxhashcode="287" class="QxWidgetCore QxStatusBarPane" style="border: 2px inset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); width: 201px; left: 0px; top: 0px; bottom: 0px;"><div style="padding-left: 1px; padding-right: 1px;" qxhashcode="286" class="QxWidgetCore QxLabel">Ready</div></div><div qxhashcode="290" class="QxWidgetCore QxStatusBarPane" style="border: 2px inset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); width: 30px; left: 296px; top: 0px; bottom: 0px;"><div style="padding-left: 1px; padding-right: 1px;" qxhashcode="289" class="QxWidgetCore QxLabel"></div></div><div qxhashcode="298" class="QxWidgetCore QxStatusBarPane" style="border: 2px inset ; color: rgb(0, 0, 0); background-color: rgb(235, 233, 237); -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); width: 61px; left: 329px; top: 0px; bottom: 0px;"><div qxhashcode="292" class="QxWidgetCore QxClockDigital" style="-moz-user-select: none; cursor: default; width: 57px; height: 14px;"><div style="left: 1px; top: 0px;" qxhashcode="297" class="QxWidgetCore QxLabel">3:21:16 PM</div></div></div></div></div></div><div qxhashcode="142" class="QxWidgetCore QxMenu" style="border: 2px outset ; background-color: rgb(255, 255, 255); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 88px; height: 103px; left: 259px; top: 140px; z-index: 1000000; display: none;"><div style="left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="145" class="QxWidgetCore QxMenuLayout"><div qxhashcode="155" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 0px;"><div qxhashcode="159" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">New</div></div><div qxhashcode="163" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 18px;"><div qxhashcode="167" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Open</div></div><div qxhashcode="170" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 36px;"><div qxhashcode="174" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Save as..</div></div><div style="height: 2px; left: 0px; right: 0px; top: 54px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="177" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="179" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="181" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 61px;"><div qxhashcode="185" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Close</div></div><div qxhashcode="188" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 82px; left: 0px; right: 0px; top: 79px;"><div qxhashcode="192" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Exit</div></div></div></div><div qxhashcode="207" class="QxWidgetCore QxMenu" style="border: 2px outset ; background-color: rgb(255, 255, 255); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 102px; height: 171px; left: 284px; top: 140px; z-index: 1000000; display: none;"><div style="left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="209" class="QxWidgetCore QxMenuLayout"><div qxhashcode="214" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 0px;"><div qxhashcode="218" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Undo</div></div><div qxhashcode="221" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 18px;"><div qxhashcode="225" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Redo</div></div><div style="height: 2px; left: 0px; right: 0px; top: 36px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="228" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="230" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="231" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 43px;"><div qxhashcode="235" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Cut</div></div><div qxhashcode="238" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 61px;"><div qxhashcode="242" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Copy</div></div><div qxhashcode="245" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 79px;"><div qxhashcode="249" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Paste</div></div><div qxhashcode="252" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 97px;"><div qxhashcode="256" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Delete</div></div><div style="height: 2px; left: 0px; right: 0px; top: 115px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="259" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="261" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="262" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 122px;"><div qxhashcode="266" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Select all</div></div><div style="height: 2px; left: 0px; right: 0px; top: 140px; margin-top: 3px; margin-bottom: 2px;" qxhashcode="269" class="QxWidgetCore QxMenuSeparator"><div style="border-style: inset; border-color: -moz-use-text-color; border-width: 1px 0px; -moz-border-top-colors: rgb(167, 166, 170); -moz-border-bottom-colors: rgb(255, 255, 255); height: 2px; left: 3px; right: 3px; top: 0px; bottom: 0px;" qxhashcode="271" class="QxWidgetCore QxTerminator"></div></div><div qxhashcode="272" class="QxWidgetCore QxMenuButton" style="cursor: default; height: 18px; min-width: 96px; left: 0px; right: 0px; top: 147px;"><div qxhashcode="276" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 24px; top: 2px;">Preferences</div></div></div></div></body></html> --- NEW FILE: QxFrame.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxFrame.js,v 1.1.2.1 2006/01/24 14:18:51 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(window) **************************************************************************** */ function QxFrame(vCaption, vIcon) { QxWindow.call(this, vCaption, vIcon); }; QxFrame.extend(QxWindow, "QxFrame"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ /*! The main menu bar if any. */ QxFrame.addProperty({ name : "menuBar", type : QxConst.TYPEOF_OBJECT, allowNull : true, instance : QxMenuBar }); /*! The status bar if any. */ QxFrame.addProperty({ name : "statusBar", type : QxConst.TYPEOF_OBJECT, allowNull : true});//, instance : QxStatusBar }); //gets an error when instance is used??? /* ------------------------------------------------------------------------------------ MODIFIERS ------------------------------------------------------------------------------------ */ proto._modifyMenuBar = function(propValue, propOldValue, propData) { if (propValue) { this._layout.addAfter(this.getMenuBar(), this._captionBar); } else { this._layout.remove(this.getMenuBar()); }; return true; }; proto._modifyStatusBar = function(propValue, propOldValue, propData) { if (propValue) { this._layout.addAtEnd(this.getStatusBar()); } else { this._layout.remove(this.getStatusBar()); }; return true; }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; return QxWindow.prototype.dispose.call(this); }; --- NEW FILE: QxStatusBar.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxStatusBar.js,v 1.1.2.1 2006/01/24 14:18:51 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxStatusBar() { QxHorizontalBoxLayout.call(this); this.setHeight(24); this.setWidth(null);// Can not use this QxConst.CORE_AUTO); -> gets an error "It is not allowed to define any horizontal dimension for 'vertical' placed children" when the QxStatusBar is layed out by QxDockLayout : potential bug this.setOverflow(QxConst.CORE_HIDDEN); }; QxStatusBar.extend(QxHorizontalBoxLayout, "QxStatusBar"); /* ------------------------------------------------------------------------------------ STYLES & BEHAVIOR ------------------------------------------------------------------------------------ */ proto._applyInitialStyle = function() { this.setBorder(QxBorderObject.presets.thinOutset); this.setColor("windowtext"); this.setBackgroundColor("threedface"); }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; var children = this.getChildren(); // if (this._statusText) // { // this._statusText.dispose(); // this._statusText = null; // }; return QxHorizontalBoxLayout.prototype.dispose.call(this); }; --- NEW FILE: StatusBar_2.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"><head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <meta http-equiv="MsThemeCompatible" content="yes"> <meta http-equiv="ImageToolBar" content="no"> <meta name="MSSmartTagsPreventParsing" content="yes"><title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="StatusBar_2_files/qooxdoo.css"> <link type="text/css" rel="stylesheet" href="StatusBar_2_files/demolayout.css"> <script type="text/javascript" src="StatusBar_2_files/includer"></script><script type="text/javascript" src="StatusBar_2_files/QxMain"></script><script type="text/javascript" src="StatusBar_2_files/QxConst"></script><script type="text/javascript" src="StatusBar_2_files/QxExtend"></script><script type="text/javascript" src="StatusBar_2_files/QxClient"></script><script type="text/javascript" src="StatusBar_2_files/QxNative"></script><script type="text/javascript" src="StatusBar_2_files/QxUtil"></script><script type="text/javascript" src="StatusBar_2_files/QxCompare"></script><script type="text/javascript" src="StatusBar_2_files/QxObject"></script><script type="text/javascript" src="StatusBar_2_files/QxDom"></script><script type="text/javascript" src="StatusBar_2_files/QxDebug"></script><script type="text/javascript" src="StatusBar_2_files/QxTarget"></script><script type="text/javascript" src="StatusBar_2_files/QxApplication"></script><script type="text/javascript" src="StatusBar_2_files/QxClientWindow"></script><script type="text/javascript" src="StatusBar_2_files/QxManager"></script><script type="text/javascript" src="StatusBar_2_files/QxEvent"></script><script type="text/javascript" src="StatusBar_2_files/QxDomEvent"></script><script type="text/javascript" src="StatusBar_2_files/QxMouseEvent"></script><script type="text/javascript" src="StatusBar_2_files/QxMouseEventCore"></script><script type="text/javascript" src="StatusBar_2_files/QxKeyEvent"></script><script type="text/javascript" src="StatusBar_2_files/QxKeyEventCore"></script><script type="text/javascript" src="StatusBar_2_files/QxFocusEvent"></script><script type="text/javascript" src="StatusBar_2_files/QxDataEvent"></script><script type="text/javascript" src="StatusBar_2_files/QxColorManager"></script><script type="text/javascript" src="StatusBar_2_files/QxColorTheme"></script><script type="text/javascript" src="StatusBar_2_files/QxColor"></script><script type="text/javascript" src="StatusBar_2_files/QxColorObject"></script><script type="text/javascript" src="StatusBar_2_files/QxColorCore"></script><script type="text/javascript" src="StatusBar_2_files/QxColorCache"></script><script type="text/javascript" src="StatusBar_2_files/QxColorThemePresets"></script><script type="text/javascript" src="StatusBar_2_files/QxBorder"></script><script type="text/javascript" src="StatusBar_2_files/QxBorderObject"></script><script type="text/javascript" src="StatusBar_2_files/QxBorderCache"></script><script type="text/javascript" src="StatusBar_2_files/QxBorderPresets"></script><script type="text/javascript" src="StatusBar_2_files/QxBorderObjectPresets"></script><script type="text/javascript" src="StatusBar_2_files/QxFont"></script><script type="text/javascript" src="StatusBar_2_files/QxFontObject"></script><script type="text/javascript" src="StatusBar_2_files/QxFontCache"></script><script type="text/javascript" src="StatusBar_2_files/QxWidget"></script><script type="text/javascript" src="StatusBar_2_files/QxWidgetCore"></script><script type="text/javascript" src="StatusBar_2_files/QxLayoutImpl"></script><script type="text/javascript" src="StatusBar_2_files/QxCanvasLayoutImpl"></script><script type="text/javascript" src="StatusBar_2_files/QxHorizontalBoxLayoutImpl"></script><script type="text/javascript" src="StatusBar_2_files/QxVerticalBoxLayoutImpl"></script><script type="text/javascript" src="StatusBar_2_files/QxFlowLayoutImpl"></script><script type="text/javascript" src="StatusBar_2_files/QxDock... [truncated message content] |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/splashscreen_olsson Added Files: Tag: renderer QxSplashScreen.js SplashScreen_1.html SplashScreen_2.html Log Message: Sorry, renamed olsen to olsson --- NEW FILE: SplashScreen_2.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"><head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <meta http-equiv="MsThemeCompatible" content="yes"> <meta http-equiv="ImageToolBar" content="no"> <meta name="MSSmartTagsPreventParsing" content="yes"><title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="SplashScreen_2_files/qooxdoo.css"> <link type="text/css" rel="stylesheet" href="SplashScreen_2_files/demolayout.css"> <script type="text/javascript" src="SplashScreen_2_files/includer"></script><script type="text/javascript" src="SplashScreen_2_files/QxMain"></script><script type="text/javascript" src="SplashScreen_2_files/QxConst"></script><script type="text/javascript" src="SplashScreen_2_files/QxExtend"></script><script type="text/javascript" src="SplashScreen_2_files/QxClient"></script><script type="text/javascript" src="SplashScreen_2_files/QxNative"></script><script type="text/javascript" src="SplashScreen_2_files/QxUtil"></script><script type="text/javascript" src="SplashScreen_2_files/QxCompare"></script><script type="text/javascript" src="SplashScreen_2_files/QxObject"></script><script type="text/javascript" src="SplashScreen_2_files/QxDom"></script><script type="text/javascript" src="SplashScreen_2_files/QxDebug"></script><script type="text/javascript" src="SplashScreen_2_files/QxTarget"></script><script type="text/javascript" src="SplashScreen_2_files/QxApplication"></script><script type="text/javascript" src="SplashScreen_2_files/QxClientWindow"></script><script type="text/javascript" src="SplashScreen_2_files/QxManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxDomEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxMouseEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxMouseEventCore"></script><script type="text/javascript" src="SplashScreen_2_files/QxKeyEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxKeyEventCore"></script><script type="text/javascript" src="SplashScreen_2_files/QxFocusEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxDataEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxColorManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxColorTheme"></script><script type="text/javascript" src="SplashScreen_2_files/QxColor"></script><script type="text/javascript" src="SplashScreen_2_files/QxColorObject"></script><script type="text/javascript" src="SplashScreen_2_files/QxColorCore"></script><script type="text/javascript" src="SplashScreen_2_files/QxColorCache"></script><script type="text/javascript" src="SplashScreen_2_files/QxColorThemePresets"></script><script type="text/javascript" src="SplashScreen_2_files/QxBorder"></script><script type="text/javascript" src="SplashScreen_2_files/QxBorderObject"></script><script type="text/javascript" src="SplashScreen_2_files/QxBorderCache"></script><script type="text/javascript" src="SplashScreen_2_files/QxBorderPresets"></script><script type="text/javascript" src="SplashScreen_2_files/QxBorderObjectPresets"></script><script type="text/javascript" src="SplashScreen_2_files/QxFont"></script><script type="text/javascript" src="SplashScreen_2_files/QxFontObject"></script><script type="text/javascript" src="SplashScreen_2_files/QxFontCache"></script><script type="text/javascript" src="SplashScreen_2_files/QxWidget"></script><script type="text/javascript" src="SplashScreen_2_files/QxWidgetCore"></script><script type="text/javascript" src="SplashScreen_2_files/QxLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxCanvasLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxHorizontalBoxLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxVerticalBoxLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxFlowLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxDockLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxGridLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxParent"></script><script type="text/javascript" src="SplashScreen_2_files/QxTerminator"></script><script type="text/javascript" src="SplashScreen_2_files/QxCanvasLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxBlocker"></script><script type="text/javascript" src="SplashScreen_2_files/QxClientDocument"></script><script type="text/javascript" src="SplashScreen_2_files/QxInline"></script><script type="text/javascript" src="SplashScreen_2_files/QxHorizontalSpacer"></script><script type="text/javascript" src="SplashScreen_2_files/QxVerticalSpacer"></script><script type="text/javascript" src="SplashScreen_2_files/QxEventManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxFocusManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxTextile"></script><script type="text/javascript" src="SplashScreen_2_files/QxTextField"></script><script type="text/javascript" src="SplashScreen_2_files/QxPasswordField"></script><script type="text/javascript" src="SplashScreen_2_files/QxTextArea"></script><script type="text/javascript" src="SplashScreen_2_files/QxTimer"></script><script type="text/javascript" src="SplashScreen_2_files/QxXmlExtras"></script><script type="text/javascript" src="SplashScreen_2_files/QxXmlHttpLoader"></script><script type="text/javascript" src="SplashScreen_2_files/QxData"></script><script type="text/javascript" src="SplashScreen_2_files/QxImageManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxImagePreloaderManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxImagePreloader"></script><script type="text/javascript" src="SplashScreen_2_files/QxImage"></script><script type="text/javascript" src="SplashScreen_2_files/QxDragEvent"></script><script type="text/javascript" src="SplashScreen_2_files/QxDragAndDropManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxBoxLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxVerticalBoxLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxHorizontalBoxLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxFlowLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxDockLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxGridLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxText"></script><script type="text/javascript" src="SplashScreen_2_files/QxHtml"></script><script type="text/javascript" src="SplashScreen_2_files/QxLink"></script><script type="text/javascript" src="SplashScreen_2_files/QxIconHtml"></script><script type="text/javascript" src="SplashScreen_2_files/QxNode"></script><script type="text/javascript" src="SplashScreen_2_files/QxLabel"></script><script type="text/javascript" src="SplashScreen_2_files/QxLabelCore"></script><script type="text/javascript" src="SplashScreen_2_files/QxAtom"></script><script type="text/javascript" src="SplashScreen_2_files/QxButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxRepeatButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxRadioManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxInputCheckIcon"></script><script type="text/javascript" src="SplashScreen_2_files/QxCheckBox"></script><script type="text/javascript" src="SplashScreen_2_files/QxRadioButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxPopupManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxPopup"></script><script type="text/javascript" src="SplashScreen_2_files/QxPopupAtom"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolTipManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolTip"></script><script type="text/javascript" src="SplashScreen_2_files/QxFieldSet"></script><script type="text/javascript" src="SplashScreen_2_files/QxCheckBoxFieldSet"></script><script type="text/javascript" src="SplashScreen_2_files/QxRadioButtonFieldSet"></script><script type="text/javascript" src="SplashScreen_2_files/QxIframe"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuLayout"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenu"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuButtonLayoutImpl"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuCheckBox"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuRadioButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuSeparator"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarPart"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarPartHandle"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarSeparator"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarCheckBox"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarRadioButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxToolBarMenuButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxMenuBarButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxSelectionStorage"></script><script type="text/javascript" src="SplashScreen_2_files/QxSelectionManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxList"></script><script type="text/javascript" src="SplashScreen_2_files/QxListItem"></script><script type="text/javascript" src="SplashScreen_2_files/QxComboBox"></script><script type="text/javascript" src="SplashScreen_2_files/QxDateComboBox"></script><script type="text/javascript" src="SplashScreen_2_files/QxRangeManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxSpinner"></script><script type="text/javascript" src="SplashScreen_2_files/QxCommand"></script><script type="text/javascript" src="SplashScreen_2_files/QxWindowManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxWindow"></script><script type="text/javascript" src="SplashScreen_2_files/QxFrame"></script><script type="text/javascript" src="SplashScreen_2_files/QxNativeWindow"></script><script type="text/javascript" src="SplashScreen_2_files/QxSplashScreen"></script><script type="text/javascript" src="SplashScreen_2_files/QxFlashPlayerVersion"></script><script type="text/javascript" src="SplashScreen_2_files/QxFlash"></script><script type="text/javascript" src="SplashScreen_2_files/QxEmu"></script><script type="text/javascript" src="SplashScreen_2_files/QxCommonView"></script><script type="text/javascript" src="SplashScreen_2_files/QxCommonViewBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxCommonViewPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxCommonViewPage"></script><script type="text/javascript" src="SplashScreen_2_files/QxCommonViewButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxTabView"></script><script type="text/javascript" src="SplashScreen_2_files/QxTabViewBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxTabViewPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxTabViewPage"></script><script type="text/javascript" src="SplashScreen_2_files/QxTabViewButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxBarView"></script><script type="text/javascript" src="SplashScreen_2_files/QxBarViewBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxBarViewPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxBarViewPage"></script><script type="text/javascript" src="SplashScreen_2_files/QxBarViewButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxOutlookBarView"></script><script type="text/javascript" src="SplashScreen_2_files/QxOutlookBarViewButton"></script><script type="text/javascript" src="SplashScreen_2_files/QxListView"></script><script type="text/javascript" src="SplashScreen_2_files/QxDatePicker"></script><script type="text/javascript" src="SplashScreen_2_files/QxStatusBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxStatusBarPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxProgressBar"></script><script type="text/javascript" src="SplashScreen_2_files/QxSplitPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxButtonPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxOptionPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxScroller"></script><script type="text/javascript" src="SplashScreen_2_files/QxTreeSelectionManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxTreeElement"></script><script type="text/javascript" src="SplashScreen_2_files/QxTreeFile"></script><script type="text/javascript" src="SplashScreen_2_files/QxTreeFolder"></script><script type="text/javascript" src="SplashScreen_2_files/QxTree"></script><script type="text/javascript" src="SplashScreen_2_files/QxVirtualSelectionManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxListView"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewHeader"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewPane"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewHeaderCell"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewHeaderSeparator"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewContentCellText"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewContentCellImage"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewContentCellHtml"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewContentCellLink"></script><script type="text/javascript" src="SplashScreen_2_files/QxListViewContentCellIconHtml"></script><script type="text/javascript" src="SplashScreen_2_files/QxDomSelectionManager"></script><script type="text/javascript" src="SplashScreen_2_files/QxGallery"></script><script type="text/javascript" src="SplashScreen_2_files/QxGalleryList"></script><script type="text/javascript" src="SplashScreen_2_files/QxClock"></script><script type="text/javascript" src="SplashScreen_2_files/QxClockAnalog"></script><script type="text/javascript" src="SplashScreen_2_files/QxClockDigital"></script><script type="text/javascript" src="SplashScreen_2_files/QxClockBinary"></script><script type="text/javascript" src="SplashScreen_2_files/QxCookie"></script><script type="text/javascript" src="SplashScreen_2_files/QxTimeTracker"></script></head> <body style="background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-user-focus: normal;"> <script type="text/javascript" src="SplashScreen_2_files/demolayout"></script><div id="testHead">qooxdoo: <span>The new era of web interface development</span> | DEVELOPMENT BRANCH</div><div id="testFoot">[<a href="javascript:void(window.location.href=window.location.href.replace(/\/source\//, '\/public\/'))">Go to: Public</a>] [<a href="http://www.perevotech.com/qooxdoo/source/test/developer/Index.html">Go to: Developer Examples</a>] </div><div id="testDebug"><div class="head"><button>clear</button><button>hide</button><button>show</button><button>dispose</button></div><div class="log"><div class="group">QxInit</div><div class="message message-info">001224: qooxdoo/0.2_beta-3</div><div class="message message-info">001243: datestamp/20051230</div><div class="group">QxApplication[HASHCODE:0]</div><div class="message message-default">008520: Loading Data: 8520ms</div><div class="message message-info">008549: Available Classes: 153</div><div class="message message-info">008553: Client Detection: gecko 1.7.12</div><div class="message message-default">008786: Initialize Application: 238ms</div><div class="message message-info">008791: Created Instances: 81</div><div class="message message-default">009300: Executing User Application: 509ms</div><div class="message message-default">009310: Preloading Images: 5ms</div><div class="message message-info">009609: Created Instances: 101</div><div class="message message-default">009613: Initialize Interface: 187ms</div><div class="message message-default">010107: Postloading Images: 14ms</div></div></div><div id="testFrame"> </div><select id="testFiles" size="5" onchange="window.location.href=this.options[this.selectedIndex].value"><option value="Atom_1.html">Atom 1</option><option value="Atom_2.html">Atom 2</option><option value="Atom_3.html">Atom 3</option><option value="Bar_View_1.html">Bar View 1</option><option value="Bar_View_2.html">Bar View 2</option><option value="Border_1.html">Border 1</option><option value="Box_Layout_1.html">Box Layout 1</option><option value="Box_Layout_2.html">Box Layout 2</option><option value="Box_Layout_3.html">Box Layout 3</option><option value="Box_Layout_4.html">Box Layout 4</option><option value="Box_Layout_5.html">Box Layout 5</option><option value="Box_Layout_6.html">Box Layout 6</option><option value="Box_Layout_7.html">Box Layout 7</option><option value="Box_Layout_8.html">Box Layout 8</option><option value="Button_1.html">Button 1</option><option value="Button_2.html">Button 2</option><option value="Canvas_Layout_1.html">Canvas Layout 1</option><option value="Checkbox_1.html">Checkbox 1</option><option value="Clipping_1.html">Clipping 1</option><option value="Clock_1.html">Clock 1</option><option value="Color_Themes_1.html">Color Themes 1</option><option value="Color_Themes_2.html">Color Themes 2</option><option value="Color_Themes_3.html">Color Themes 3</option><option value="Combobox_1.html">Combobox 1</option><option value="Combobox_2.html">Combobox 2</option><option value="Combobox_3.html">Combobox 3</option><option value="Combobox_4.html">Combobox 4</option><option value="Cookie_1.html">Cookie 1</option><option value="Data_Handling_1.html">Data Handling 1</option><option value="Data_Handling_2.html">Data Handling 2</option><option value="Dock_Layout_1.html">Dock Layout 1</option><option value="Dock_Layout_2.html">Dock Layout 2</option><option value="Dock_Layout_3.html">Dock Layout 3</option><option value="Dock_Layout_4.html">Dock Layout 4</option><option value="Dock_Layout_5.html">Dock Layout 5</option><option value="Dock_Layout_6.html">Dock Layout 6</option><option value="Drag_And_Drop_1.html">Drag And Drop 1</option><option value="Drag_And_Drop_2.html">Drag And Drop 2</option><option value="Enabled_Disabled_1.html">Enabled Disabled 1</option><option value="Fields_1.html">Fields 1</option><option value="Fields_2.html">Fields 2</option><option value="Fieldset_1.html">Fieldset 1</option><option value="Fieldset_2.html">Fieldset 2</option><option value="Fieldset_3.html">Fieldset 3</option><option value="Fieldset_4.html">Fieldset 4</option><option value="Flash_1.html">Flash 1</option><option value="Flow_Layout_1.html">Flow Layout 1</option><option value="Flow_Layout_2.html">Flow Layout 2</option><option value="Flow_Layout_3.html">Flow Layout 3</option><option value="Focus_Manager_1.html">Focus Manager 1</option><option value="Font_1.html">Font 1</option><option value="Frame_1.html">Frame 1</option><option value="Gallery_1.html">Gallery 1</option><option value="Gallery_2.html">Gallery 2</option><option value="Gallery_3.html">Gallery 3</option><option value="Gallery_List_1.html">Gallery List 1</option><option value="Grid_Layout_10.html">Grid Layout 10</option><option value="Grid_Layout_11.html">Grid Layout 11</option><option value="Grid_Layout_1.html">Grid Layout 1</option><option value="Grid_Layout_2.html">Grid Layout 2</option><option value="Grid_Layout_3.html">Grid Layout 3</option><option value="Grid_Layout_4.html">Grid Layout 4</option><option value="Grid_Layout_5.html">Grid Layout 5</option><option value="Grid_Layout_6.html">Grid Layout 6</option><option value="Grid_Layout_7.html">Grid Layout 7</option><option value="Grid_Layout_8.html">Grid Layout 8</option><option value="Grid_Layout_9.html">Grid Layout 9</option><option value="IconHtml_1.html">IconHtml 1</option><option value="Iframe_1.html">Iframe 1</option><option value="Image_1.html">Image 1</option><option value="Image_2.html">Image 2</option><option value="Index.html">Index</option><option value="Inline_1.html">Inline 1</option><option value="Label_1.html">Label 1</option><option value="Label_2.html">Label 2</option><option value="Label_3.html">Label 3</option><option value="Label_4.html">Label 4</option><option value="Link_1.html">Link 1</option><option value="List_1.html">List 1</option><option value="List_2.html">List 2</option><option value="List_3.html">List 3</option><option value="List_4.html">List 4</option><option value="List_View_10.html">List View 10</option><option value="List_View_11.html">List View 11</option><option value="List_View_12.html">List View 12</option><option value="List_View_13.html">List View 13</option><option value="List_View_14.html">List View 14</option><option value="List_View_1b.html">List View 1b</option><option value="List_View_1.html">List View 1</option><option value="List_View_2b.html">List View 2b</option><option value="List_View_2.html">List View 2</option><option value="List_View_3b.html">List View 3b</option><option value="List_View_3.html">List View 3</option><option value="List_View_4.html">List View 4</option><option value="List_View_5.html">List View 5</option><option value="List_View_6.html">List View 6</option><option value="List_View_7.html">List View 7</option><option value="List_View_8.html">List View 8</option><option value="List_View_9.html">List View 9</option><option value="Menu_1.html">Menu 1</option><option value="Menu_2.html">Menu 2</option><option value="Menu_3.html">Menu 3</option><option value="Native_Window_1.html">Native Window 1</option><option value="Node_1.html">Node 1</option><option value="OptionPane_1.html">OptionPane 1</option><option value="OptionPane_2.html">OptionPane 2</option><option value="ProgressBar_1.html">ProgressBar 1</option><option value="Radiobutton_1.html">Radiobutton 1</option><option value="Repeat_Button_1.html">Repeat Button 1</option><option value="Rounded_Corners_1.html">Rounded Corners 1</option><option value="Scroller_1.html">Scroller 1</option><option value="Spinner_1.html">Spinner 1</option><option value="SplashScreen_1.html">SplashScreen 1</option><option value="SplashScreen_2.html" selected="selected">SplashScreen 2</option><option value="StatusBar_1.html">StatusBar 1</option><option value="StatusBar_2.html">StatusBar 2</option><option value="Tab_View_1.html">Tab View 1</option><option value="Toolbar_1.html">Toolbar 1</option><option value="Toolbar_2.html">Toolbar 2</option><option value="Toolbar_3.html">Toolbar 3</option><option value="Toolbar_4.html">Toolbar 4</option><option value="Toolbar_5.html">Toolbar 5</option><option value="Toolbar_6.html">Toolbar 6</option><option value="Toolbar_7.html">Toolbar 7</option><option value="Toolbar_8.html">Toolbar 8</option><option value="Tooltip_1.html">Tooltip 1</option><option value="Tree_1.html">Tree 1</option><option value="Tree_2.html">Tree 2</option><option value="Tree_3.html">Tree 3</option><option value="Tree_4.html">Tree 4</option><option value="Tree_5.html">Tree 5</option><option value="Tree_6.html">Tree 6</option><option value="Tree_7.html">Tree 7</option><option value="User_Data_1.html">User Data 1</option><option value="Window_1.html">Window 1</option><option value="Window_2.html">Window 2</option><option value="Window_3.html">Window 3</option><option value="Window_4.html">Window 4</option><option value="Window_5.html">Window 5</option></select> <div id="testDescription"> <p>Testing SplashScreen implementation.</p> <p>The elements of the splash screen will be created on the first open of the QxSplashScreen.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var mediaA = new QxAtom(QxTextile("*File Information*:\nJPEG-Photo\nCreated: 01/03/05"), "icons/48/icons.png"); mediaA.setBorder(QxBorderObject.presets.outset); mediaA.setPadding(3, 6); var startSS = new QxSplashScreen(mediaA, true); doc.add(startSS); startSS.open(); for(i = 0; i <= 100; i++) { startSS.setProgressBarValue(i); }; }; </script> <div style="height: auto; width: auto; visibility: hidden; position: absolute; z-index: -1;"><p><strong>File Information</strong>:<br>JPEG-Photo<br>Created: 01/03/05</p></div><div qxhashcode="94" class="QxWidgetCore QxSplashScreen" style="border: 2px outset ; background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 6px; height: 6px; left: 710px; top: 395px; z-index: 3; display: none;"><div style="width: 107px; height: 81px; left: 1px; right: 1px; top: 1px; bottom: 1px;" qxhashcode="96" class="QxWidgetCore QxVerticalBoxLayout"><div qxhashcode="89" class="QxWidgetCore QxAtom" style="border: 2px outset ; -moz-user-select: none; cursor: default; -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 107px; height: 61px; left: 0px; top: 0px;"><div qxhashcode="93" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 6px; top: 5px;"><img src="SplashScreen_2_files/icons" height="48" width="48"></div><div qxhashcode="92" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 10px; top: 3px;"><p><strong>File Information</strong>:<br>JPEG-Photo<br>Created: 01/03/05</p></div></div><div qxhashcode="99" class="QxWidgetCore QxProgressBar" style="border: 2px inset ; background-color: white; -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); height: 20px; left: 0px; right: 0px; top: 61px;"><div qxhashcode="102" class="QxWidgetCore QxAtom" style="-moz-user-select: none; cursor: default; background-color: red; width: 103px; height: 16px;"></div><div qxhashcode="106" class="QxWidgetCore QxText" style="color: white;">100%</div></div></div></div></body></html> --- NEW FILE: SplashScreen_1.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"><head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> <meta http-equiv="MsThemeCompatible" content="yes"> <meta http-equiv="ImageToolBar" content="no"> <meta name="MSSmartTagsPreventParsing" content="yes"><title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="SplashScreen_1_files/qooxdoo.css"> <link type="text/css" rel="stylesheet" href="SplashScreen_1_files/demolayout.css"> <script type="text/javascript" src="SplashScreen_1_files/includer"></script><script type="text/javascript" src="SplashScreen_1_files/QxMain"></script><script type="text/javascript" src="SplashScreen_1_files/QxConst"></script><script type="text/javascript" src="SplashScreen_1_files/QxExtend"></script><script type="text/javascript" src="SplashScreen_1_files/QxClient"></script><script type="text/javascript" src="SplashScreen_1_files/QxNative"></script><script type="text/javascript" src="SplashScreen_1_files/QxUtil"></script><script type="text/javascript" src="SplashScreen_1_files/QxCompare"></script><script type="text/javascript" src="SplashScreen_1_files/QxObject"></script><script type="text/javascript" src="SplashScreen_1_files/QxDom"></script><script type="text/javascript" src="SplashScreen_1_files/QxDebug"></script><script type="text/javascript" src="SplashScreen_1_files/QxTarget"></script><script type="text/javascript" src="SplashScreen_1_files/QxApplication"></script><script type="text/javascript" src="SplashScreen_1_files/QxClientWindow"></script><script type="text/javascript" src="SplashScreen_1_files/QxManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxDomEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxMouseEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxMouseEventCore"></script><script type="text/javascript" src="SplashScreen_1_files/QxKeyEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxKeyEventCore"></script><script type="text/javascript" src="SplashScreen_1_files/QxFocusEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxDataEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxColorManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxColorTheme"></script><script type="text/javascript" src="SplashScreen_1_files/QxColor"></script><script type="text/javascript" src="SplashScreen_1_files/QxColorObject"></script><script type="text/javascript" src="SplashScreen_1_files/QxColorCore"></script><script type="text/javascript" src="SplashScreen_1_files/QxColorCache"></script><script type="text/javascript" src="SplashScreen_1_files/QxColorThemePresets"></script><script type="text/javascript" src="SplashScreen_1_files/QxBorder"></script><script type="text/javascript" src="SplashScreen_1_files/QxBorderObject"></script><script type="text/javascript" src="SplashScreen_1_files/QxBorderCache"></script><script type="text/javascript" src="SplashScreen_1_files/QxBorderPresets"></script><script type="text/javascript" src="SplashScreen_1_files/QxBorderObjectPresets"></script><script type="text/javascript" src="SplashScreen_1_files/QxFont"></script><script type="text/javascript" src="SplashScreen_1_files/QxFontObject"></script><script type="text/javascript" src="SplashScreen_1_files/QxFontCache"></script><script type="text/javascript" src="SplashScreen_1_files/QxWidget"></script><script type="text/javascript" src="SplashScreen_1_files/QxWidgetCore"></script><script type="text/javascript" src="SplashScreen_1_files/QxLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxCanvasLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxHorizontalBoxLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxVerticalBoxLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxFlowLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxDockLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxGridLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxParent"></script><script type="text/javascript" src="SplashScreen_1_files/QxTerminator"></script><script type="text/javascript" src="SplashScreen_1_files/QxCanvasLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxBlocker"></script><script type="text/javascript" src="SplashScreen_1_files/QxClientDocument"></script><script type="text/javascript" src="SplashScreen_1_files/QxInline"></script><script type="text/javascript" src="SplashScreen_1_files/QxHorizontalSpacer"></script><script type="text/javascript" src="SplashScreen_1_files/QxVerticalSpacer"></script><script type="text/javascript" src="SplashScreen_1_files/QxEventManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxFocusManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxTextile"></script><script type="text/javascript" src="SplashScreen_1_files/QxTextField"></script><script type="text/javascript" src="SplashScreen_1_files/QxPasswordField"></script><script type="text/javascript" src="SplashScreen_1_files/QxTextArea"></script><script type="text/javascript" src="SplashScreen_1_files/QxTimer"></script><script type="text/javascript" src="SplashScreen_1_files/QxXmlExtras"></script><script type="text/javascript" src="SplashScreen_1_files/QxXmlHttpLoader"></script><script type="text/javascript" src="SplashScreen_1_files/QxData"></script><script type="text/javascript" src="SplashScreen_1_files/QxImageManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxImagePreloaderManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxImagePreloader"></script><script type="text/javascript" src="SplashScreen_1_files/QxImage"></script><script type="text/javascript" src="SplashScreen_1_files/QxDragEvent"></script><script type="text/javascript" src="SplashScreen_1_files/QxDragAndDropManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxBoxLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxVerticalBoxLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxHorizontalBoxLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxFlowLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxDockLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxGridLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxText"></script><script type="text/javascript" src="SplashScreen_1_files/QxHtml"></script><script type="text/javascript" src="SplashScreen_1_files/QxLink"></script><script type="text/javascript" src="SplashScreen_1_files/QxIconHtml"></script><script type="text/javascript" src="SplashScreen_1_files/QxNode"></script><script type="text/javascript" src="SplashScreen_1_files/QxLabel"></script><script type="text/javascript" src="SplashScreen_1_files/QxLabelCore"></script><script type="text/javascript" src="SplashScreen_1_files/QxAtom"></script><script type="text/javascript" src="SplashScreen_1_files/QxButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxRepeatButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxRadioManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxInputCheckIcon"></script><script type="text/javascript" src="SplashScreen_1_files/QxCheckBox"></script><script type="text/javascript" src="SplashScreen_1_files/QxRadioButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxPopupManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxPopup"></script><script type="text/javascript" src="SplashScreen_1_files/QxPopupAtom"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolTipManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolTip"></script><script type="text/javascript" src="SplashScreen_1_files/QxFieldSet"></script><script type="text/javascript" src="SplashScreen_1_files/QxCheckBoxFieldSet"></script><script type="text/javascript" src="SplashScreen_1_files/QxRadioButtonFieldSet"></script><script type="text/javascript" src="SplashScreen_1_files/QxIframe"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuLayout"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenu"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuButtonLayoutImpl"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuCheckBox"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuRadioButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuSeparator"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarPart"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarPartHandle"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarSeparator"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarCheckBox"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarRadioButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxToolBarMenuButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxMenuBarButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxSelectionStorage"></script><script type="text/javascript" src="SplashScreen_1_files/QxSelectionManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxList"></script><script type="text/javascript" src="SplashScreen_1_files/QxListItem"></script><script type="text/javascript" src="SplashScreen_1_files/QxComboBox"></script><script type="text/javascript" src="SplashScreen_1_files/QxDateComboBox"></script><script type="text/javascript" src="SplashScreen_1_files/QxRangeManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxSpinner"></script><script type="text/javascript" src="SplashScreen_1_files/QxCommand"></script><script type="text/javascript" src="SplashScreen_1_files/QxWindowManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxWindow"></script><script type="text/javascript" src="SplashScreen_1_files/QxFrame"></script><script type="text/javascript" src="SplashScreen_1_files/QxNativeWindow"></script><script type="text/javascript" src="SplashScreen_1_files/QxSplashScreen"></script><script type="text/javascript" src="SplashScreen_1_files/QxFlashPlayerVersion"></script><script type="text/javascript" src="SplashScreen_1_files/QxFlash"></script><script type="text/javascript" src="SplashScreen_1_files/QxEmu"></script><script type="text/javascript" src="SplashScreen_1_files/QxCommonView"></script><script type="text/javascript" src="SplashScreen_1_files/QxCommonViewBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxCommonViewPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxCommonViewPage"></script><script type="text/javascript" src="SplashScreen_1_files/QxCommonViewButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxTabView"></script><script type="text/javascript" src="SplashScreen_1_files/QxTabViewBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxTabViewPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxTabViewPage"></script><script type="text/javascript" src="SplashScreen_1_files/QxTabViewButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxBarView"></script><script type="text/javascript" src="SplashScreen_1_files/QxBarViewBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxBarViewPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxBarViewPage"></script><script type="text/javascript" src="SplashScreen_1_files/QxBarViewButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxOutlookBarView"></script><script type="text/javascript" src="SplashScreen_1_files/QxOutlookBarViewButton"></script><script type="text/javascript" src="SplashScreen_1_files/QxListView"></script><script type="text/javascript" src="SplashScreen_1_files/QxDatePicker"></script><script type="text/javascript" src="SplashScreen_1_files/QxStatusBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxStatusBarPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxProgressBar"></script><script type="text/javascript" src="SplashScreen_1_files/QxSplitPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxButtonPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxOptionPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxScroller"></script><script type="text/javascript" src="SplashScreen_1_files/QxTreeSelectionManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxTreeElement"></script><script type="text/javascript" src="SplashScreen_1_files/QxTreeFile"></script><script type="text/javascript" src="SplashScreen_1_files/QxTreeFolder"></script><script type="text/javascript" src="SplashScreen_1_files/QxTree"></script><script type="text/javascript" src="SplashScreen_1_files/QxVirtualSelectionManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxListView"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewHeader"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewPane"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewHeaderCell"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewHeaderSeparator"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewContentCellText"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewContentCellImage"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewContentCellHtml"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewContentCellLink"></script><script type="text/javascript" src="SplashScreen_1_files/QxListViewContentCellIconHtml"></script><script type="text/javascript" src="SplashScreen_1_files/QxDomSelectionManager"></script><script type="text/javascript" src="SplashScreen_1_files/QxGallery"></script><script type="text/javascript" src="SplashScreen_1_files/QxGalleryList"></script><script type="text/javascript" src="SplashScreen_1_files/QxClock"></script><script type="text/javascript" src="SplashScreen_1_files/QxClockAnalog"></script><script type="text/javascript" src="SplashScreen_1_files/QxClockDigital"></script><script type="text/javascript" src="SplashScreen_1_files/QxClockBinary"></script><script type="text/javascript" src="SplashScreen_1_files/QxCookie"></script><script type="text/javascript" src="SplashScreen_1_files/QxTimeTracker"></script></head> <body style="background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-user-focus: normal;"> <script type="text/javascript" src="SplashScreen_1_files/demolayout"></script><div id="testHead">qooxdoo: <span>The new era of web interface development</span> | DEVELOPMENT BRANCH</div><div id="testFoot">[<a href="javascript:void(window.location.href=window.location.href.replace(/\/source\//, '\/public\/'))">Go to: Public</a>] [<a href="http://www.perevotech.com/qooxdoo/source/test/developer/Index.html">Go to: Developer Examples</a>] </div><div id="testDebug"><div class="head"><button>clear</button><button>hide</button><button>show</button><button>dispose</button></div><div class="log"><div class="group">QxInit</div><div class="message message-info">003503: qooxdoo/0.2_beta-3</div><div class="message message-info">003523: datestamp/20051230</div><div class="group">QxApplication[HASHCODE:0]</div><div class="message message-default">056948: Loading Data: 56948ms</div><div class="message message-info">056976: Available Classes: 153</div><div class="message message-info">056981: Client Detection: gecko 1.7.12</div><div class="message message-default">057228: Initialize Application: 252ms</div><div class="message message-info">057232: Created Instances: 81</div><div class="message message-default">057321: Executing User Application: 88ms</div><div class="message message-default">057334: Preloading Images: 8ms</div><div class="message message-info">058422: Created Instances: 102</div><div class="message message-default">058426: Initialize Interface: 190ms</div><div class="message message-default">058927: Postloading Images: 22ms</div></div></div><div id="testFrame"> </div><select id="testFiles" size="5" onchange="window.location.href=this.options[this.selectedIndex].value"><option value="Atom_1.html">Atom 1</option><option value="Atom_2.html">Atom 2</option><option value="Atom_3.html">Atom 3</option><option value="Bar_View_1.html">Bar View 1</option><option value="Bar_View_2.html">Bar View 2</option><option value="Border_1.html">Border 1</option><option value="Box_Layout_1.html">Box Layout 1</option><option value="Box_Layout_2.html">Box Layout 2</option><option value="Box_Layout_3.html">Box Layout 3</option><option value="Box_Layout_4.html">Box Layout 4</option><option value="Box_Layout_5.html">Box Layout 5</option><option value="Box_Layout_6.html">Box Layout 6</option><option value="Box_Layout_7.html">Box Layout 7</option><option value="Box_Layout_8.html">Box Layout 8</option><option value="Button_1.html">Button 1</option><option value="Button_2.html">Button 2</option><option value="Canvas_Layout_1.html">Canvas Layout 1</option><option value="Checkbox_1.html">Checkbox 1</option><option value="Clipping_1.html">Clipping 1</option><option value="Clock_1.html">Clock 1</option><option value="Color_Themes_1.html">Color Themes 1</option><option value="Color_Themes_2.html">Color Themes 2</option><option value="Color_Themes_3.html">Color Themes 3</option><option value="Combobox_1.html">Combobox 1</option><option value="Combobox_2.html">Combobox 2</option><option value="Combobox_3.html">Combobox 3</option><option value="Combobox_4.html">Combobox 4</option><option value="Cookie_1.html">Cookie 1</option><option value="Data_Handling_1.html">Data Handling 1</option><option value="Data_Handling_2.html">Data Handling 2</option><option value="Dock_Layout_1.html">Dock Layout 1</option><option value="Dock_Layout_2.html">Dock Layout 2</option><option value="Dock_Layout_3.html">Dock Layout 3</option><option value="Dock_Layout_4.html">Dock Layout 4</option><option value="Dock_Layout_5.html">Dock Layout 5</option><option value="Dock_Layout_6.html">Dock Layout 6</option><option value="Drag_And_Drop_1.html">Drag And Drop 1</option><option value="Drag_And_Drop_2.html">Drag And Drop 2</option><option value="Enabled_Disabled_1.html">Enabled Disabled 1</option><option value="Fields_1.html">Fields 1</option><option value="Fields_2.html">Fields 2</option><option value="Fieldset_1.html">Fieldset 1</option><option value="Fieldset_2.html">Fieldset 2</option><option value="Fieldset_3.html">Fieldset 3</option><option value="Fieldset_4.html">Fieldset 4</option><option value="Flash_1.html">Flash 1</option><option value="Flow_Layout_1.html">Flow Layout 1</option><option value="Flow_Layout_2.html">Flow Layout 2</option><option value="Flow_Layout_3.html">Flow Layout 3</option><option value="Focus_Manager_1.html">Focus Manager 1</option><option value="Font_1.html">Font 1</option><option value="Frame_1.html">Frame 1</option><option value="Gallery_1.html">Gallery 1</option><option value="Gallery_2.html">Gallery 2</option><option value="Gallery_3.html">Gallery 3</option><option value="Gallery_List_1.html">Gallery List 1</option><option value="Grid_Layout_10.html">Grid Layout 10</option><option value="Grid_Layout_11.html">Grid Layout 11</option><option value="Grid_Layout_1.html">Grid Layout 1</option><option value="Grid_Layout_2.html">Grid Layout 2</option><option value="Grid_Layout_3.html">Grid Layout 3</option><option value="Grid_Layout_4.html">Grid Layout 4</option><option value="Grid_Layout_5.html">Grid Layout 5</option><option value="Grid_Layout_6.html">Grid Layout 6</option><option value="Grid_Layout_7.html">Grid Layout 7</option><option value="Grid_Layout_8.html">Grid Layout 8</option><option value="Grid_Layout_9.html">Grid Layout 9</option><option value="IconHtml_1.html">IconHtml 1</option><option value="Iframe_1.html">Iframe 1</option><option value="Image_1.html">Image 1</option><option value="Image_2.html">Image 2</option><option value="Index.html">Index</option><option value="Inline_1.html">Inline 1</option><option value="Label_1.html">Label 1</option><option value="Label_2.html">Label 2</option><option value="Label_3.html">Label 3</option><option value="Label_4.html">Label 4</option><option value="Link_1.html">Link 1</option><option value="List_1.html">List 1</option><option value="List_2.html">List 2</option><option value="List_3.html">List 3</option><option value="List_4.html">List 4</option><option value="List_View_10.html">List View 10</option><option value="List_View_11.html">List View 11</option><option value="List_View_12.html">List View 12</option><option value="List_View_13.html">List View 13</option><option value="List_View_14.html">List View 14</option><option value="List_View_1b.html">List View 1b</option><option value="List_View_1.html">List View 1</option><option value="List_View_2b.html">List View 2b</option><option value="List_View_2.html">List View 2</option><option value="List_View_3b.html">List View 3b</option><option value="List_View_3.html">List View 3</option><option value="List_View_4.html">List View 4</option><option value="List_View_5.html">List View 5</option><option value="List_View_6.html">List View 6</option><option value="List_View_7.html">List View 7</option><option value="List_View_8.html">List View 8</option><option value="List_View_9.html">List View 9</option><option value="Menu_1.html">Menu 1</option><option value="Menu_2.html">Menu 2</option><option value="Menu_3.html">Menu 3</option><option value="Native_Window_1.html">Native Window 1</option><option value="Node_1.html">Node 1</option><option value="OptionPane_1.html">OptionPane 1</option><option value="OptionPane_2.html">OptionPane 2</option><option value="ProgressBar_1.html">ProgressBar 1</option><option value="Radiobutton_1.html">Radiobutton 1</option><option value="Repeat_Button_1.html">Repeat Button 1</option><option value="Rounded_Corners_1.html">Rounded Corners 1</option><option value="Scroller_1.html">Scroller 1</option><option value="Spinner_1.html">Spinner 1</option><option value="SplashScreen_1.html" selected="selected">SplashScreen 1</option><option value="SplashScreen_2.html">SplashScreen 2</option><option value="StatusBar_1.html">StatusBar 1</option><option value="StatusBar_2.html">StatusBar 2</option><option value="Tab_View_1.html">Tab View 1</option><option value="Toolbar_1.html">Toolbar 1</option><option value="Toolbar_2.html">Toolbar 2</option><option value="Toolbar_3.html">Toolbar 3</option><option value="Toolbar_4.html">Toolbar 4</option><option value="Toolbar_5.html">Toolbar 5</option><option value="Toolbar_6.html">Toolbar 6</option><option value="Toolbar_7.html">Toolbar 7</option><option value="Toolbar_8.html">Toolbar 8</option><option value="Tooltip_1.html">Tooltip 1</option><option value="Tree_1.html">Tree 1</option><option value="Tree_2.html">Tree 2</option><option value="Tree_3.html">Tree 3</option><option value="Tree_4.html">Tree 4</option><option value="Tree_5.html">Tree 5</option><option value="Tree_6.html">Tree 6</option><option value="Tree_7.html">Tree 7</option><option value="User_Data_1.html">User Data 1</option><option value="Window_1.html">Window 1</option><option value="Window_2.html">Window 2</option><option value="Window_3.html">Window 3</option><option value="Window_4.html">Window 4</option><option value="Window_5.html">Window 5</option></select> <div id="testDescription"> <p>Testing SplashScreen implementation.</p> <p>The elements of the splash screen will be created on the first open of the QxSplashScreen.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var mediaA = new QxAtom(QxTextile("*File Information*:\nJPEG-Photo\nCreated: 01/03/05"), "icons/48/icons.png"); mediaA.setBorder(QxBorderObject.presets.outset); mediaA.setPadding(3, 6); var startSS = new QxSplashScreen(mediaA, true); startSS.setShowTime(10000); doc.add(startSS); startSS.open(); }; </script> <div style="height: auto; width: auto; visibility: hidden; position: absolute; z-index: -1;"><p><strong>File Information</strong>:<br>JPEG-Photo<br>Created: 01/03/05</p></div><div qxhashcode="94" class="QxWidgetCore QxSplashScreen" style="border: 2px outset ; background-color: rgb(235, 233, 237); color: rgb(0, 0, 0); -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); width: 6px; height: 6px; left: 710px; top: 395px; z-index: 3; display: none;"><div style="height: 81px; left: 1px; right: 1px; top: 1px; bottom: 1px; width: 155px;" qxhashcode="96" class="QxWidgetCore QxVerticalBoxLayout"><div qxhashcode="89" class="QxWidgetCore QxAtom" style="border: 2px outset ; -moz-user-select: none; cursor: default; -moz-border-left-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-right-colors: rgb(133, 135, 140) rgb(167, 166, 170); -moz-border-top-colors: rgb(220, 223, 228) rgb(255, 255, 255); -moz-border-bottom-colors: rgb(133, 135, 140) rgb(167, 166, 170); height: 61px; width: 155px; left: 0px; top: 0px;"><div qxhashcode="93" title="" class="QxWidgetCore QxImage" style="-moz-user-select: none; left: 6px; top: 5px;"><img src="SplashScreen_1_files/icons" height="48" width="48"></div><div qxhashcode="92" class="QxWidgetCore QxLabel" style="-moz-user-select: none; left: 58px; top: 3px;"><p><strong>File Information</strong>:<br>JPEG-Photo<br>Created: 01/03/05</p></div></div><div qxhashcode="99" class="QxWidgetCore QxProgressBar" style="border: 2px inset ; background-color: white; -moz-border-left-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-right-colors: rgb(255, 255, 255) rgb(220, 223, 228); -moz-border-top-colors: rgb(167, 166, 170) rgb(133, 135, 140); -moz-border-bottom-colors: rgb(255, 255, 255) rgb(220, 223, 228); height: 20px; left: 0px; right: 0px; top: 61px;"><div qxhashcode="102" class="QxWidgetCore QxAtom" style="-moz-user-select: none; cursor: default; background-color: red; height: 16px; width: 151px;"></div><div qxhashcode="106" class="QxWidgetCore QxText" style="color: white;">100%</div></div></div></div></body></html> --- NEW FILE: QxSplashScreen.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxSplashScreen.js,v 1.1.2.1 2006/01/24 14:18:50 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(splashscreen) **************************************************************************** */ function QxSplashScreen(vComponent, vShowProgressBar) { QxPopup.call(this); // this.setWidth(QxConst.CORE_AUTO); // this.setHeight(QxConst.CORE_AUTO); this.setBackgroundColor("threedface"); this.setColor("windowtext"); this.setBorder(QxBorderObject.presets.outset); this.setPadding(1); // if (this._initialLayoutDone && this.getVisibility() && this._isDisplayed) // { //this.error("Make modal!!!"); // this.getTopLevelWidget().block(this); //Make modal // }; // *********************************************************************** // LAYOUT // *********************************************************************** var l = this._layout = new QxVerticalBoxLayout(); // l.setWidth(null); // l.setHeight(null); // l.setEdge(0); this.add(l); // *********************************************************************** // Components // *********************************************************************** this._component = vComponent; vComponent.setFocused(false); l.add(vComponent); if(QxUtil.isValidBoolean(vShowProgressBar)) { this.setShowProgressBar(vShowProgressBar); }; // *********************************************************************** // EVENTS // *********************************************************************** vComponent.addEventListener(QxConst.EVENT_TYPE_MOUSEDOWN, this._onwindowmousedown, this); this.addEventListener(QxConst.EVENT_TYPE_KEYDOWN, this._onkeydown, this); }; QxSplashScreen.extend(QxPopup, "QxSplashScreen"); QxSplashScreen.MIN_VALUE = 1; QxSplashScreen.MAX_VALUE = 100; /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ /*! Should the user have the ability to close the splashscreen by clicking on it or Escape. */ QxSplashScreen.addProperty({ name : "allowClose", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true }); /*! Should the user have a status bar shown. */ QxSplashScreen.addProperty({ name : "showProgressBar", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); /*! Time to show splash screen. */ QxSplashScreen.addProperty({ name : "showTime", type : QxConst.TYPEOF_NUMBER, defaultValue : 0 }); /*! Center the splash screen on open. */ QxSplashScreen.addProperty({ name : "centered", type : QxConst.TYPEOF_BOOLEAN, defaultValue : true }); /* ------------------------------------------------------------------------------------ MODIFIERS ------------------------------------------------------------------------------------ */ proto._modifyShowProgressBar = function(propValue, propOldValue, propData) { if (propValue) { var progressPB = this._progressBar = new QxProgressBar(QxConst.DIRECTION_RIGHT, QxSplashScreen.MIN_VALUE, QxSplashScreen.MAX_VALUE); progressPB.setHeight(20); this._layout.addAtEnd(progressPB); } else { this._layout.remove(this._progressBar); }; return true; }; proto._modifyShowTime = function(propValue, propOldValue, propData) { if (propValue) { this._timer = new QxTimer(this.getShowTime()/QxSplashScreen.MAX_VALUE); this._timer.addEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); } else { this._timer.stop(); this._timer.removeEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); this._timer.dispose(); this._timer = null; }; return true; }; /* ------------------------------------------------------------------------------------ EVENTS ------------------------------------------------------------------------------------ */ proto._oninterval = function(e) { if(this.getShowProgressBar() && this._progressBar.getValue() < QxSplashScreen.MAX_VALUE) { this._progressBar.se... [truncated message content] |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:58
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/frame_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/frame_olsen Removed Files: Tag: renderer Frame_1.html QxFrame.js QxUtil.js QxWindow.js Log Message: Sorry, renamed olsen to olsson --- Frame_1.html DELETED --- --- QxUtil.js DELETED --- --- QxWindow.js DELETED --- --- QxFrame.js DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:58
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/splashscreen_olsen Removed Files: Tag: renderer QxSplashScreen.js SplashScreen_1.html SplashScreen_2.html Log Message: Sorry, renamed olsen to olsson --- SplashScreen_2.html DELETED --- --- SplashScreen_1.html DELETED --- --- QxSplashScreen.js DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:58
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/clock_olsen Removed Files: Tag: renderer Clock_1.html QxBinaryClock.js QxClock.js QxDigitalClock.js Log Message: Sorry, renamed olsen to olsson --- Clock_1.html DELETED --- --- QxClock.js DELETED --- --- QxDigitalClock.js DELETED --- --- QxBinaryClock.js DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:58
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsen/green In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/clock_olsen/green Removed Files: Tag: renderer 0.png 1.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png blank.png divisor.png Log Message: Sorry, renamed olsen to olsson --- divisor.png DELETED --- --- 2.png DELETED --- --- 3.png DELETED --- --- 0.png DELETED --- --- 1.png DELETED --- --- 6.png DELETED --- --- 7.png DELETED --- --- 4.png DELETED --- --- 5.png DELETED --- --- 8.png DELETED --- --- 9.png DELETED --- --- blank.png DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:57
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29409/buttonpane_olsen Removed Files: Tag: renderer OptionPane_1.html OptionPane_2.html QxButtonPane.js QxOptionPane.js Log Message: Sorry, renamed olsen to olsson --- QxOptionPane.js DELETED --- --- QxButtonPane.js DELETED --- --- OptionPane_2.html DELETED --- --- OptionPane_1.html DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:18:00
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/progressbar_olsson Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsson added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:17:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/statusbar_olsson Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:17:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/splashscreen_olsson Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsson added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:17:59
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/buttonpane_olsson Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:17:58
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/clock_olsson Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:17:58
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/frame_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/frame_olsson Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/contributed/frame_olsson added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-01-24 14:13:00
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26489/source/contributed/clock_olsen Added Files: Tag: renderer Clock_1.html QxBinaryClock.js QxClock.js QxDigitalClock.js Log Message: Added contributed section --- NEW FILE: Clock_1.html --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <script type="text/javascript">window._htmlstart=(new Date).valueOf()</script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="MsThemeCompatible" content="yes" /> <meta http-equiv="ImageToolBar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="yes" /> <title>qooxdoo demo dev</title> <link type="text/css" rel="stylesheet" href="../../style/qooxdoo.css"/> <link type="text/css" rel="stylesheet" href="../../style/demolayout.css"/> <script type="text/javascript" src="../../../tools/script/includer.js"></script> <script type="text/javascript" src="QxClock.js"></script> <script type="text/javascript" src="QxBinaryClock.js"></script> <script type="text/javascript" src="QxDigitalClock.js"></script> </head> <body> <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> <div id="testDescription"> <p>Testing Clocks implementation.</p> <p>The elements of the clock will be created on the first open of the QxClockAnalog, QxClockDigital and QxClockBinary.</p> </div> <script type="text/javascript"> window.application.main = function() { var doc = this.getClientWindow().getClientDocument(); var digitalClock = new QxDigitalClock(); digitalClock.setTop(48); digitalClock.setLeft(20); var binaryClock = new QxBinaryClock(); binaryClock.setTop(100); binaryClock.setLeft(20); binaryClock.setBackgroundColor("black"); doc.add(digitalClock, binaryClock); }; </script> </body> </html> --- NEW FILE: QxClock.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxClock.js,v 1.1.2.1 2006/01/24 14:12:45 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxClock() { QxAtom.call(this); this.setWidth(QxConst.CORE_AUTO); // *********************************************************************** // TIMER // *********************************************************************** this._timer = new QxTimer(this.getInterval()); // *********************************************************************** // EVENTS // *********************************************************************** this._timer.addEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); this._timer.start(); }; QxClock.extend(QxAtom, "QxClock"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ /*! The current value of the interval (this should be used internally only). */ QxClock.addProperty({ name : QxConst.EVENT_TYPE_INTERVAL, type : QxConst.TYPEOF_NUMBER, defaultValue : 1000 }); /*! The current zone. Offset value is 5 for CDT and 6 for CST */ QxClock.addProperty({ name : "zoneOffset", type : QxConst.TYPEOF_NUMBER, defaultValue : -1 }); /* ------------------------------------------------------------------------------------ INTERVAL HANDLING ------------------------------------------------------------------------------------ */ proto._oninterval = function(e) { this._timer.stop(); var date = new Date(); var hours = date.getUTCHours(); var minutes = date.getMinutes(); var seconds = date.getSeconds(); var offset = this.getZoneOffset(); if (hours < offset) { hours = hours + 24 - offset; // If hours < 0 add 24 for correct time } else { hours = hours - offset; // Else just subtract it. }; this.display(hours, minutes, seconds); QxWidget.flushGlobalQueues(); if (this.hasEventListeners(QxConst.EVENT_TYPE_INTERVAL)) { this.dispatchEvent(new QxEvent(QxConst.EVENT_TYPE_INTERVAL)); }; this._timer.restartWith(this.getInterval()); }; /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ // placeholder method proto.display = function(hours, minutes, seconds) {}; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if (this._timer) { this._timer.stop(); this._timer.removeEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); this._timer.dispose(); this._timer = null; }; return QxCanvasLayout.prototype.dispose.call(this); }; --- NEW FILE: QxDigitalClock.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxDigitalClock.js,v 1.1.2.1 2006/01/24 14:12:45 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxDigitalClock() { QxClock.call(this); var label = this._label = new QxLabel(); this.setLabel(label); this.add(label); }; QxDigitalClock.extend(QxClock, "QxDigitalClock"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ QxDigitalClock.SHOW_TWELVE = "12"; QxDigitalClock.SHOW_TWENTYFOUR = "24"; /*! Show a 12 or 24 hour clock. */ QxDigitalClock.addProperty({ name : "showHours", type : QxConst.TYPEOF_NUMBER, possibleValues : [QxDigitalClock.SHOW_TWELVE, QxDigitalClock.SHOW_TWENTYFOUR], defaultValue : QxDigitalClock.SHOW_TWELVE }); /*! The current value of the interval (this should be used internally only). */ QxDigitalClock.addProperty({ name : "label", type : QxConst.TYPEOF_OBJECT }); /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ proto.display = function(hours, minutes, seconds) { var am_pm = ""; if(this.getShowHours() == "12") { if (hours > 11) { am_pm = "PM"; } else { am_pm = "AM"; }; if (hours > 12) { hours = hours - 12; }; if (hours == 0) { hours = 12; }; }; if (minutes <= 9) { minutes = "0" + minutes; }; if (seconds <= 9) { seconds = "0" + seconds; }; var time = hours + ':' + minutes + ':' + seconds + " " + am_pm; this.getLabel().setHtml(time); }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if (this._label) { this._label.dispose(); this._label = null; }; return QxClock.prototype.dispose.call(this); }; --- NEW FILE: QxBinaryClock.js --- /* **************************************************************************** qooxdoo - the new era of web interface development Version: $Id: QxBinaryClock.js,v 1.1.2.1 2006/01/24 14:12:45 wpbasti Exp $ Copyright: (C) 2004-2005 by Schlund + Partner AG, Germany All rights reserved License: LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ Internet: * http://qooxdoo.oss.schlund.de Authors: * Kent Olsson (kols) <kent dot olsson at chello dot se> **************************************************************************** */ /* **************************************************************************** #package(form) **************************************************************************** */ function QxBinaryClock() { QxClock.call(this); this._hour1I = new QxImage(); this._hour2I = new QxImage(); this._divisor1I = new QxImage(); this._minute1I = new QxImage(); this._minute2I = new QxImage(); this._divisor2I = new QxImage(); this._second1I = new QxImage(); this._second2I = new QxImage(); this.add(this._hour1I, this._hour2I, this._divisor1I, this._minute1I, this._minute2I, this._divisor2I, this._second1I, this._second2I); }; QxBinaryClock.extend(QxClock, "QxBinaryClock"); /* ------------------------------------------------------------------------------------ PROPERTIES ------------------------------------------------------------------------------------ */ QxBinaryClock.SHOW_TWELVE = "12"; QxBinaryClock.SHOW_TWENTYFOUR = "24"; /*! Show a 12 or 24 hour clock. */ QxBinaryClock.addProperty({ name : "showHours", type : QxConst.TYPEOF_NUMBER, possibleValues : [QxBinaryClock.SHOW_TWELVE, QxBinaryClock.SHOW_TWENTYFOUR], defaultValue : QxBinaryClock.SHOW_TWELVE }); /*! The image path. */ QxBinaryClock.addProperty({ name : "imagePath", type : QxConst.TYPEOF_STRING, defaultValue : "./" }); /*! The colour of the clock. It must be a subdirectory to imagePath. */ QxBinaryClock.addProperty({ name : "color", type : QxConst.TYPEOF_STRING, defaultValue : "green" }); /* ------------------------------------------------------------------------------------ UTILITIES ------------------------------------------------------------------------------------ */ proto.display = function(hours, minutes, seconds) { if(this.getShowHours() == 12) { if (hours > 12) { hours = hours - 12; }; if (hours == 0) { hours = 12; }; }; var time = ((hours < 10) ? "0"+hours : hours) + '' + ((minutes < 10) ? "0"+minutes : minutes) + '' + ((seconds < 10) ? "0"+seconds : seconds); var imagePath = this.getImagePath() + this.getColor() + "/"; if(this.getShowHours() == 12) { this._hour1I.setSource(imagePath + time.charAt(0) + ".png"); } else { this._hour1I.setSource(imagePath + "blank.png"); }; this._hour2I.setSource(imagePath + time.charAt(1) + ".png"); this._divisor1I.setSource(imagePath + "divisor.png"); this._minute1I.setSource(imagePath + time.charAt(2) + ".png"); this._minute2I.setSource(imagePath + time.charAt(3) + ".png"); this._divisor2I.setSource(imagePath + "divisor.png"); this._second1I.setSource(imagePath + time.charAt(4) + ".png"); this._second2I.setSource(imagePath + time.charAt(5) + ".png"); }; /* ------------------------------------------------------------------------------------ DISPOSER ------------------------------------------------------------------------------------ */ proto.dispose = function() { if (this.getDisposed()) { return true; }; if(this._hour1I) { this._hour1I.dispose(); this._hour1I = null; }; if(this._hour2I) { this._hour2I.dispose(); this._hour2I = null; }; if(this._divisor1I) { this._divisor1I.dispose(); this._divisor1I = null; }; if(this._minute1I) { this._minute1I.dispose(); this._minute1I = null; }; if(this._minute2I) { this._minute2I.dispose(); this._minute2I = null; }; if(this._divisor2I) { this._divisor2I.dispose(); this._divisor2I = null; }; if(this._second1I) { this._second1I.dispose(); this._second1I = null; }; if(this._second2I) { this._second2I.dispose(); this._second2I = null; }; return QxClock.prototype.dispose.call(this); }; |