qooxdoo-commit Mailing List for qooxdoo (Page 1415)
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-02-03 11:05:12
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31697/source/script/gui Modified Files: Tag: renderer QxColorTheme.js Log Message: Minor fix Index: QxColorTheme.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxColorTheme.js,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -d -r1.1.2.8 -r1.1.2.9 --- QxColorTheme.js 3 Feb 2006 10:53:53 -0000 1.1.2.8 +++ QxColorTheme.js 3 Feb 2006 11:04:54 -0000 1.1.2.9 @@ -28,7 +28,7 @@ #package(color) #require(QxUtil) #require(QxColorManager) -#post(QxColorThemePresets) +#post(QxColor) ************************************************************************ */ |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:54:04
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27868/tools Modified Files: Tag: renderer config.sh Log Message: Moved color themes to new theme folder Index: config.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/config.sh,v retrieving revision 1.16.2.103 retrieving revision 1.16.2.104 diff -u -d -r1.16.2.103 -r1.16.2.104 --- config.sh 3 Feb 2006 10:23:44 -0000 1.16.2.103 +++ config.sh 3 Feb 2006 10:53:54 -0000 1.16.2.104 @@ -40,7 +40,12 @@ L="$L script/gui/QxColorObject" L="$L script/gui/QxColorCore" L="$L script/gui/QxColorCache" -L="$L script/presets/QxColorThemePresets" +L="$L themes/colors/windowsRoyale" +L="$L themes/colors/system" +L="$L themes/colors/windowsClassic" +L="$L themes/colors/windowsLunaBlue" +L="$L themes/colors/windowsLunaGreen" +L="$L themes/colors/windowsLunaSilver" # Border Handling L="$L script/gui/QxBorder" |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:54:04
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27868/source/script/gui Modified Files: Tag: renderer QxColorObject.js QxColorTheme.js Log Message: Moved color themes to new theme folder Index: QxColorTheme.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxColorTheme.js,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -d -r1.1.2.7 -r1.1.2.8 --- QxColorTheme.js 16 Jan 2006 16:11:55 -0000 1.1.2.7 +++ QxColorTheme.js 3 Feb 2006 10:53:53 -0000 1.1.2.8 @@ -39,6 +39,9 @@ if (QxUtil.isInvalidString(vThemeId)) { throw new Error("Each instance of QxColorTheme need an unique ID!"); }; + + this._definedColors = vColors; + this._compiledColors = {}; this.setId(vThemeId); this.setTitle(QxUtil.isValidString(vThemeTitle) ? vThemeTitle : vThemeId); @@ -48,9 +51,6 @@ } catch(ex) { throw new Error("Could not register Theme: " + ex); }; - - this._colors = vColors; - this._compiledColors = {}; }; QxColorTheme.extend(QxObject, "QxColorTheme"); @@ -65,7 +65,7 @@ --------------------------------------------------------------------------- */ -QxColorTheme.addProperty({ name : "id", type : QxConst.TYPEOF_STRING, allowNull : false, defaultValue : QxConst.CORE_EMPTY }); +QxColorTheme.addProperty({ name : "id", type : QxConst.TYPEOF_STRING, allowNull : false }); QxColorTheme.addProperty({ name : "title", type : QxConst.TYPEOF_STRING, allowNull : false, defaultValue : QxConst.CORE_EMPTY }); @@ -79,7 +79,6 @@ */ proto._needsCompilation = true; -proto._colors = null; @@ -93,7 +92,7 @@ */ proto.getValueByName = function(vName) { - return this._colors[vName] || QxConst.CORE_EMPTY; + return this._definedColors[vName] || QxConst.CORE_EMPTY; }; proto.getStyleByName = function(vName) { @@ -126,8 +125,8 @@ proto._compileValue = function(vName) { - var v = this._colors[vName]; - this._compiledColors[vName] = v ? QxColor.rgb2style.apply(this, this._colors[vName]) : vName; + var v = this._definedColors[vName]; + this._compiledColors[vName] = v ? QxColor.rgb2style.apply(this, this._definedColors[vName]) : vName; }; @@ -146,7 +145,7 @@ return; }; - delete this._colors; + delete this._definedColors; delete this._compiledColors; QxObject.prototype.dispose.call(this); Index: QxColorObject.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/gui/Attic/QxColorObject.js,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- QxColorObject.js 16 Jan 2006 16:11:55 -0000 1.1.2.5 +++ QxColorObject.js 3 Feb 2006 10:53:53 -0000 1.1.2.6 @@ -90,7 +90,7 @@ proto._applyThemedValue = function() { - var vTheme = QxColorManager.getTheme(); + var vTheme = QxColorManager.getThemeObject(); var vRgb = vTheme.getValueByName(this._value); if (vRgb) |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:54:03
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/managers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27868/source/script/managers Modified Files: Tag: renderer QxColorManager.js Log Message: Moved color themes to new theme folder Index: QxColorManager.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/managers/Attic/QxColorManager.js,v retrieving revision 1.1.2.16 retrieving revision 1.1.2.17 diff -u -d -r1.1.2.16 -r1.1.2.17 --- QxColorManager.js 16 Jan 2006 16:11:56 -0000 1.1.2.16 +++ QxColorManager.js 3 Feb 2006 10:53:53 -0000 1.1.2.17 @@ -51,7 +51,21 @@ --------------------------------------------------------------------------- */ -QxColorManager.addProperty({ name : "theme", type : QxConst.TYPEOF_OBJECT }); +QxColorManager.addProperty({ name : "theme", type : QxConst.TYPEOF_STRING }); + + + + +/* +--------------------------------------------------------------------------- + COMMON PUBLIC METHODS +--------------------------------------------------------------------------- +*/ + +proto.getThemeObject = function() { + return this._themes[this.getTheme()]; +}; + @@ -59,7 +73,7 @@ /* --------------------------------------------------------------------------- - PUBLIC METHODS FOR COLOR OBJECTS + PUBLIC METHODS FOR QXCOLOROBJECTS --------------------------------------------------------------------------- */ @@ -93,9 +107,11 @@ + + /* --------------------------------------------------------------------------- - PUBLIC METHODS FOR THEMES + PUBLIC METHODS FOR QXCOLORTHEMES --------------------------------------------------------------------------- */ @@ -108,11 +124,13 @@ }; this._themes[vId] = vTheme; + + // Register first incoming theme as default + if (this.getTheme() == null) { + this.setTheme(vId); + }; }; -proto.setThemeById = function(vId) { - return this.setTheme(this._themes[vId]); -}; @@ -121,19 +139,18 @@ /* --------------------------------------------------------------------------- - PRIVATE METHODS + MODIFIER --------------------------------------------------------------------------- */ proto._modifyTheme = function(propValue, propOldValue, propData) { - if (propValue) - { - propValue.compile(); + var vTheme = this.getThemeObject(); + + vTheme.compile(); - for (var i in this._dependentObjects) { - this._dependentObjects[i]._updateTheme(propValue); - }; + for (var i in this._dependentObjects) { + this._dependentObjects[i]._updateTheme(vTheme); }; return true; @@ -163,7 +180,7 @@ var vButton = new QxButton(vPrefix + vThemes[vId].getTitle(), vIcon); vButton.setLocation(xCor, yCor); - vButton.addEventListener(vEvent, new Function("QxColorManager.setThemeById('" + vId + "')")); + vButton.addEventListener(vEvent, new Function("QxColorManager.setTheme('" + vId + "')")); vParent.add(vButton); |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:54:03
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/presets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27868/source/script/presets Removed Files: Tag: renderer QxColorThemePresets.js Log Message: Moved color themes to new theme folder --- QxColorThemePresets.js DELETED --- |
Update of /cvsroot/qooxdoo/qooxdoo/source/themes/colors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27868/source/themes/colors Added Files: Tag: renderer system.js windowsClassic.js windowsLunaBlue.js windowsLunaGreen.js windowsLunaSilver.js windowsRoyale.js Log Message: Moved color themes to new theme folder --- NEW FILE: windowsRoyale.js --- new QxColorTheme("windowsRoyale", "Windows Royale", { activeborder : [ 212,208,200 ], activecaption : [ 51,94,168 ], appworkspace : [ 128,128,128 ], background : [ 0,0,64 ], buttonface : [ 235,233,237 ], buttonhighlight : [ 255,255,255 ], buttonshadow : [ 167,166,170 ], buttontext : [ 0,0,0 ], captiontext : [ 255,255,255 ], graytext : [ 167,166,170 ], highlight : [ 51,94,168 ], highlighttext : [ 255,255,255 ], inactiveborder : [ 212,208,200 ], inactivecaption : [ 111,161,217 ], inactivecaptiontext : [ 255,255,255 ], infobackground : [ 255,255,225 ], infotext : [ 0,0,0 ], menu : [ 255,255,255 ], menutext : [ 0,0,0 ], scrollbar : [ 212,208,200 ], threeddarkshadow : [ 133,135,140 ], threedface : [ 235,233,237 ], threedhighlight : [ 255,255,255 ], threedlightshadow : [ 220,223,228 ], threedshadow : [ 167,166,170 ], window : [ 255,255,255 ], windowframe : [ 0,0,0 ], windowtext : [ 0,0,0 ] }); --- NEW FILE: windowsLunaGreen.js --- new QxColorTheme("windowsLunaGreen", "Windows Luna Green", { activeborder : [ 212,208,200 ], activecaption : [ 139,161,105 ], appworkspace : [ 128,128,128 ], background : [ 157,172,189 ], buttonface : [ 236,233,216 ], buttonhighlight : [ 255,255,255 ], buttonshadow : [ 172,168,153 ], buttontext : [ 0,0,0 ], captiontext : [ 255,255,255 ], graytext : [ 172,168,153 ], highlight : [ 147,160,112 ], highlighttext : [ 255,255,255 ], inactiveborder : [ 212,208,200 ], inactivecaption : [ 212,214,186 ], inactivecaptiontext : [ 255,255,255 ], infobackground : [ 255,255,225 ], infotext : [ 0,0,0 ], menu : [ 255,255,255 ], menutext : [ 0,0,0 ], scrollbar : [ 212,208,200 ], threeddarkshadow : [ 113,111,100 ], threedface : [ 236,233,216 ], threedhighlight : [ 255,255,255 ], threedlightshadow : [ 241,239,226 ], threedshadow : [ 172,168,153 ], window : [ 255,255,255 ], windowframe : [ 0,0,0 ], windowtext : [ 0,0,0 ] }); --- NEW FILE: windowsLunaBlue.js --- new QxColorTheme("windowsLunaBlue", "Windows Luna Blue", { activeborder : [ 212,208,200 ], activecaption : [ 0,84,227 ], appworkspace : [ 128,128,128 ], background : [ 0,78,152 ], buttonface : [ 236,233,216 ], buttonhighlight : [ 255,255,255 ], buttonshadow : [ 172,168,153 ], buttontext : [ 0,0,0 ], captiontext : [ 255,255,255 ], graytext : [ 172,168,153 ], highlight : [ 49,106,197 ], highlighttext : [ 255,255,255 ], inactiveborder : [ 212,208,200 ], inactivecaption : [ 122,150,223 ], inactivecaptiontext : [ 216,228,248 ], infobackground : [ 255,255,225 ], infotext : [ 0,0,0 ], menu : [ 255,255,255 ], menutext : [ 0,0,0 ], scrollbar : [ 212,208,200 ], threeddarkshadow : [ 113,111,100 ], threedface : [ 236,233,216 ], threedhighlight : [ 255,255,255 ], threedlightshadow : [ 241,239,226 ], threedshadow : [ 172,168,153 ], window : [ 255,255,255 ], windowframe : [ 0,0,0 ], windowtext : [ 0,0,0 ] }); --- NEW FILE: system.js --- new QxColorTheme("operatingSystemDefault", "Operating System Default", {}); --- NEW FILE: windowsLunaSilver.js --- new QxColorTheme("windowsLunaSilver", "Windows Luna Silver", { activeborder : [ 212,208,200 ], activecaption : [ 192,192,192 ], appworkspace : [ 128,128,128 ], background : [ 88,87,104 ], buttonface : [ 224,223,227 ], buttonhighlight : [ 255,255,255 ], buttonshadow : [ 157,157,161 ], buttontext : [ 0,0,0 ], captiontext : [ 14,16,16 ], graytext : [ 172,168,153 ], highlight : [ 178,180,191 ], highlighttext : [ 0,0,0 ], inactiveborder : [ 212,208,200 ], inactivecaption : [ 255,255,255 ], inactivecaptiontext : [ 162,161,161 ], infobackground : [ 255,255,225 ], infotext : [ 0,0,0 ], menu : [ 255,255,255 ], menutext : [ 0,0,0 ], scrollbar : [ 212,208,200 ], threeddarkshadow : [ 113,111,100 ], threedface : [ 224,223,227 ], threedhighlight : [ 255,255,255 ], threedlightshadow : [ 241,239,226 ], threedshadow : [ 157,157,161 ], window : [ 255,255,255 ], windowframe : [ 0,0,0 ], windowtext : [ 0,0,0 ] }); --- NEW FILE: windowsClassic.js --- new QxColorTheme("windowsClassic", "Windows Classic", { activeborder : [ 212,208,200 ], activecaption : [ 10,36,106 ], appworkspace : [ 128,128,128 ], background : [ 58,110,165 ], buttonface : [ 212,208,200 ], buttonhighlight : [ 255,255,255 ], buttonshadow : [ 128,128,128 ], buttontext : [ 0,0,0 ], captiontext : [ 255,255,255 ], graytext : [ 128,128,128 ], highlight : [ 10,36,106 ], highlighttext : [ 255,255,255 ], inactiveborder : [ 212,208,200 ], inactivecaption : [ 128,128,128 ], inactivecaptiontext : [ 212,208,200 ], infobackground : [ 255,255,225 ], infotext : [ 0,0,0 ], menu : [ 212,208,200 ], menutext : [ 0,0,0 ], scrollbar : [ 212,208,200 ], threeddarkshadow : [ 64,64,64 ], threedface : [ 212,208,200 ], threedhighlight : [ 255,255,255 ], threedlightshadow : [ 212,208,200 ], threedshadow : [ 128,128,128 ], window : [ 255,255,255 ], windowframe : [ 0,0,0 ], windowtext : [ 0,0,0 ] }); |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:52:50
|
Update of /cvsroot/qooxdoo/qooxdoo/source/themes/appearance/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27528/source/themes/appearance/default Added Files: Tag: renderer theme.js Log Message: Added missing appearance --- NEW FILE: theme.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: theme.js,v 1.1.2.1 2006/02/03 10:52:39 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) [...1924 lines suppressed...] theme.registerAppearance("spinner-button-down", { initial : function(vWidget, vTheme) { return QxUtil.mergeObjectWith(vTheme.initialFrom(vWidget, "image"), { height: QxConst.CORE_FLEX, width: 16, border: QxBorderObject.presets.outset, paddingLeft : 3, paddingTop : 1, backgroundColor: new QxColorObject("threedface") }); }, state : function(vWidget, vTheme, vStates) { return vTheme.stateFrom(vWidget, "button"); } }); |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:52:26
|
Update of /cvsroot/qooxdoo/qooxdoo/source/themes/appearance/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27463/source/themes/appearance/default Log Message: Directory /cvsroot/qooxdoo/qooxdoo/source/themes/appearance/default added to the repository --> Using per-directory sticky tag `renderer' |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:23:54
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16399/source/script/gui Added Files: Tag: renderer QxBorderObjectPresets.js QxBorderPresets.js Log Message: Moved border presets to gui --- NEW FILE: QxBorderPresets.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxBorderPresets.js,v 1.1.2.1 2006/02/03 10:23:44 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(border) #require(QxBorder) ************************************************************************ */ QxBorder.init = function() { QxBorder.presets = { black : new QxBorder(1, QxConst.BORDER_STYLE_SOLID, "black"), white : new QxBorder(1, QxConst.BORDER_STYLE_SOLID, "white"), none : new QxBorder(0, QxConst.BORDER_STYLE_NONE) }; }; QxBorder.init(); --- NEW FILE: QxBorderObjectPresets.js --- /* ************************************************************************ qooxdoo - the new era of web interface development Version: $Id: QxBorderObjectPresets.js,v 1.1.2.1 2006/02/03 10:23:44 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(border) #require(QxBorderObject) ************************************************************************ */ QxBorderObject.init = function() { QxBorderObject.presets = { inset : new QxBorderObject(2, QxConst.BORDER_STYLE_INSET), outset : new QxBorderObject(2, QxConst.BORDER_STYLE_OUTSET), groove : new QxBorderObject(2, QxConst.BORDER_STYLE_GROOVE), ridge : new QxBorderObject(2, QxConst.BORDER_STYLE_RIDGE), thinInset : new QxBorderObject(1, QxConst.BORDER_STYLE_INSET), thinOutset : new QxBorderObject(1, QxConst.BORDER_STYLE_OUTSET), verticalDivider : new QxBorderObject(1, QxConst.BORDER_STYLE_INSET), horizontalDivider : new QxBorderObject(1, QxConst.BORDER_STYLE_INSET), shadow : new QxBorderObject(1, QxConst.BORDER_STYLE_SOLID, "threedshadow"), lightShadow : new QxBorderObject(1, QxConst.BORDER_STYLE_SOLID, "threedlightshadow"), info : new QxBorderObject(1, QxConst.BORDER_STYLE_SOLID, "infotext") }; QxBorderObject.presets.verticalDivider.setLeftWidth(0); QxBorderObject.presets.verticalDivider.setRightWidth(0); QxBorderObject.presets.horizontalDivider.setTopWidth(0); QxBorderObject.presets.horizontalDivider.setBottomWidth(0); }; QxBorderObject.init(); |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:23:53
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16399/tools Modified Files: Tag: renderer config.sh Log Message: Moved border presets to gui Index: config.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/config.sh,v retrieving revision 1.16.2.102 retrieving revision 1.16.2.103 diff -u -d -r1.16.2.102 -r1.16.2.103 --- config.sh 3 Feb 2006 10:18:36 -0000 1.16.2.102 +++ config.sh 3 Feb 2006 10:23:44 -0000 1.16.2.103 @@ -46,8 +46,8 @@ L="$L script/gui/QxBorder" L="$L script/gui/QxBorderObject" L="$L script/gui/QxBorderCache" -L="$L script/presets/QxBorderPresets" -L="$L script/presets/QxBorderObjectPresets" +L="$L script/gui/QxBorderPresets" +L="$L script/gui/QxBorderObjectPresets" # Font Handling L="$L script/gui/QxFont" |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:23:51
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/presets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16399/source/script/presets Removed Files: Tag: renderer QxBorderObjectPresets.js QxBorderPresets.js Log Message: Moved border presets to gui --- QxBorderPresets.js DELETED --- --- QxBorderObjectPresets.js DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:19:21
|
Update of /cvsroot/qooxdoo/qooxdoo/source/script/appearance In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14543/source/script/appearance Removed Files: Tag: renderer QxAppearanceTheme-Default.js Log Message: Finally removed appearance from script folder --- QxAppearanceTheme-Default.js DELETED --- |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:18:45
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14238/tools Modified Files: Tag: renderer baseheader.txt combine.sh compile.py compress.sh config.sh patchtest.sh Log Message: Moved appearance, to new theme folder, updated build scripts to handle scripts also in this directory Index: compile.py =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/compile.py,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- compile.py 13 Jan 2006 10:50:31 -0000 1.1.2.2 +++ compile.py 3 Feb 2006 10:18:36 -0000 1.1.2.3 @@ -1697,11 +1697,6 @@ def main(): - print "=========================================" - print " WELCOME" - print "=========================================" - print - print ">>> Analysing Parameters..." cmd = "" Index: combine.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/combine.sh,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- combine.sh 2 Dec 2005 13:49:43 -0000 1.1.2.5 +++ combine.sh 3 Feb 2006 10:18:36 -0000 1.1.2.6 @@ -3,29 +3,30 @@ cd `dirname $0`/.. source tools/config.sh -cp -f tools/baseheader.txt public/script/qooxdoo.js +cp -f tools/baseheader.txt public/qooxdoo.js mkdir -p public/script +mkdir -p public/themes dold="" stamp=`date +"%Z-%Y%m%d-%I%M%p"` for file in $L; do d=`dirname $file` if [ "$dold" != "$d" ]; then - echo ">>> Current Source: public/script/$d" + echo ">>> Current Source: public/$d" fi echo " - File: `basename $file`.js [js]" - rest=`grep -v "Copyright" public/script/${file}.js | sed s:"\"datestamp/\"+e":"\"timestamp/$stamp\"":g` - echo -n $rest >> public/script/qooxdoo.js + rest=`grep -v "Copyright" public/${file}.js | sed s:"\"datestamp/\"+e":"\"timestamp/$stamp\"":g` + echo -n $rest >> public/qooxdoo.js dold="$d" done -gzip -9 -c public/script/qooxdoo.js > public/script/qooxdoo.js.gz +gzip -9 -c public/qooxdoo.js > public/qooxdoo.js.gz echo "-------------------------------------------------------------------" -echo " - Final Size: `du public/script/qooxdoo.js`" -echo " gzipped: `du public/script/qooxdoo.js.gz`" +echo " - Final Size: `du public/qooxdoo.js`" +echo " gzipped: `du public/qooxdoo.js.gz`" echo "-------------------------------------------------------------------" echo " - Done" echo "-------------------------------------------------------------------" Index: baseheader.txt =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/baseheader.txt,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- baseheader.txt 19 May 2005 07:46:36 -0000 1.1.2.1 +++ baseheader.txt 3 Feb 2006 10:18:36 -0000 1.1.2.2 @@ -2,7 +2,7 @@ qooxdoo - the new era of web interface development - copyright 2004-2005 by united internet, germany + copyright 2004-2005 by schlund + partner ag, germany licensed under lgpl (http://www.gnu.org/copyleft/lesser.html) all rights reserved Index: patchtest.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/patchtest.sh,v retrieving revision 1.5.2.9 retrieving revision 1.5.2.10 diff -u -d -r1.5.2.9 -r1.5.2.10 --- patchtest.sh 31 Jan 2006 08:36:45 -0000 1.5.2.9 +++ patchtest.sh 3 Feb 2006 10:18:36 -0000 1.5.2.10 @@ -21,7 +21,7 @@ mkdir -p `dirname $dfile` cat $file | \ - sed s:"../../../tools/script/includer.js":"../../script/qooxdoo.js":g | \ + sed s:"../../../tools/script/includer.js":"../../qooxdoo.js":g | \ sed s/"qooxdoo demo dev"/"${name} @ qooxdoo :: demo [development]"/g \ > $dfile done Index: config.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/config.sh,v retrieving revision 1.16.2.101 retrieving revision 1.16.2.102 diff -u -d -r1.16.2.101 -r1.16.2.102 --- config.sh 3 Feb 2006 09:41:43 -0000 1.16.2.101 +++ config.sh 3 Feb 2006 10:18:36 -0000 1.16.2.102 @@ -1,292 +1,292 @@ L="" # Core Language Additions -L="$L core/QxMain" -L="$L core/QxConst" -L="$L core/QxExtend" -L="$L core/QxNative" -L="$L core/QxUtil" -L="$L core/QxCompare" +L="$L script/core/QxMain" +L="$L script/core/QxConst" +L="$L script/core/QxExtend" +L="$L script/core/QxNative" +L="$L script/core/QxUtil" +L="$L script/core/QxCompare" # Core Qooxdoo Objects -L="$L core/QxObject" -L="$L core/QxObjectCore" -L="$L core/QxClient" -L="$L core/QxDom" -L="$L core/QxDebug" -L="$L core/QxTarget" +L="$L script/core/QxObject" +L="$L script/core/QxObjectCore" +L="$L script/core/QxClient" +L="$L script/core/QxDom" +L="$L script/core/QxDebug" +L="$L script/core/QxTarget" # Core Managers -L="$L managers/QxManager" +L="$L script/managers/QxManager" # Application -L="$L core/QxApplication" -L="$L gui/QxClientWindow" +L="$L script/core/QxApplication" +L="$L script/gui/QxClientWindow" # Basic Events -L="$L events/QxEvent" -L="$L events/QxDomEvent" -L="$L events/QxMouseEvent" -L="$L events/QxMouseEventCore" -L="$L events/QxKeyEvent" -L="$L events/QxKeyEventCore" -L="$L events/QxFocusEvent" -L="$L events/QxDataEvent" +L="$L script/events/QxEvent" +L="$L script/events/QxDomEvent" +L="$L script/events/QxMouseEvent" +L="$L script/events/QxMouseEventCore" +L="$L script/events/QxKeyEvent" +L="$L script/events/QxKeyEventCore" +L="$L script/events/QxFocusEvent" +L="$L script/events/QxDataEvent" # Color Support -L="$L managers/QxColorManager" -L="$L gui/QxColorTheme" -L="$L gui/QxColor" -L="$L gui/QxColorObject" -L="$L gui/QxColorCore" -L="$L gui/QxColorCache" -L="$L presets/QxColorThemePresets" +L="$L script/managers/QxColorManager" +L="$L script/gui/QxColorTheme" +L="$L script/gui/QxColor" +L="$L script/gui/QxColorObject" +L="$L script/gui/QxColorCore" +L="$L script/gui/QxColorCache" +L="$L script/presets/QxColorThemePresets" # Border Handling -L="$L gui/QxBorder" -L="$L gui/QxBorderObject" -L="$L gui/QxBorderCache" -L="$L presets/QxBorderPresets" -L="$L presets/QxBorderObjectPresets" +L="$L script/gui/QxBorder" +L="$L script/gui/QxBorderObject" +L="$L script/gui/QxBorderCache" +L="$L script/presets/QxBorderPresets" +L="$L script/presets/QxBorderObjectPresets" # Font Handling -L="$L gui/QxFont" -L="$L gui/QxFontObject" -L="$L gui/QxFontCache" +L="$L script/gui/QxFont" +L="$L script/gui/QxFontObject" +L="$L script/gui/QxFontCache" # Basic Widget -L="$L gui/QxWidget" -L="$L gui/QxWidgetCore" +L="$L script/gui/QxWidget" +L="$L script/gui/QxWidgetCore" # Appearance -L="$L managers/QxAppearanceManager" -L="$L gui/QxAppearanceTheme" -L="$L appearance/QxAppearanceTheme-Default" +L="$L script/managers/QxAppearanceManager" +L="$L script/gui/QxAppearanceTheme" +L="$L themes/appearance/default/theme" # Core Layouts -L="$L layouts/QxLayoutImpl" -L="$L layouts/QxCanvasLayoutImpl" -L="$L layouts/QxHorizontalBoxLayoutImpl" -L="$L layouts/QxVerticalBoxLayoutImpl" -L="$L layouts/QxFlowLayoutImpl" -L="$L layouts/QxDockLayoutImpl" -L="$L layouts/QxGridLayoutImpl" +L="$L script/layouts/QxLayoutImpl" +L="$L script/layouts/QxCanvasLayoutImpl" +L="$L script/layouts/QxHorizontalBoxLayoutImpl" +L="$L script/layouts/QxVerticalBoxLayoutImpl" +L="$L script/layouts/QxFlowLayoutImpl" +L="$L script/layouts/QxDockLayoutImpl" +L="$L script/layouts/QxGridLayoutImpl" # Core Widgets -L="$L gui/QxParent" -L="$L widgets/QxTerminator" +L="$L script/gui/QxParent" +L="$L script/widgets/QxTerminator" # Main Widgets -L="$L widgets/QxCanvasLayout" -L="$L widgets/QxBlocker" -L="$L widgets/QxClientDocument" -L="$L widgets/QxInline" -L="$L widgets/QxHorizontalSpacer" -L="$L widgets/QxVerticalSpacer" +L="$L script/widgets/QxCanvasLayout" +L="$L script/widgets/QxBlocker" +L="$L script/widgets/QxClientDocument" +L="$L script/widgets/QxInline" +L="$L script/widgets/QxHorizontalSpacer" +L="$L script/widgets/QxVerticalSpacer" # Event Handling -L="$L managers/QxEventManager" -L="$L managers/QxFocusManager" +L="$L script/managers/QxEventManager" +L="$L script/managers/QxFocusManager" # Textile -L="$L core/QxTextile" +L="$L script/core/QxTextile" # Text Fields -L="$L widgets/QxTextField" -L="$L widgets/QxPasswordField" -L="$L widgets/QxTextArea" +L="$L script/widgets/QxTextField" +L="$L script/widgets/QxPasswordField" +L="$L script/widgets/QxTextArea" # Timer Support -L="$L core/QxTimer" +L="$L script/core/QxTimer" # XML Extras -L="$L core/QxXmlExtras" +L="$L script/core/QxXmlExtras" # Old Data Transport -L="$L deprecated/QxXmlHttpLoader" -L="$L deprecated/QxData" +L="$L script/deprecated/QxXmlHttpLoader" +L="$L script/deprecated/QxData" # Image Support -L="$L managers/QxImageManager" -L="$L managers/QxImagePreloaderManager" -L="$L gui/QxImagePreloader" -L="$L gui/QxImagePreloaderSystem" -L="$L widgets/QxImage" +L="$L script/managers/QxImageManager" +L="$L script/managers/QxImagePreloaderManager" +L="$L script/gui/QxImagePreloader" +L="$L script/gui/QxImagePreloaderSystem" +L="$L script/widgets/QxImage" # Drag&Drop Support -L="$L events/QxDragEvent" -L="$L managers/QxDragAndDropManager" +L="$L script/events/QxDragEvent" +L="$L script/managers/QxDragAndDropManager" # Box Layout -L="$L widgets/QxBoxLayout" -L="$L widgets/QxVerticalBoxLayout" -L="$L widgets/QxHorizontalBoxLayout" +L="$L script/widgets/QxBoxLayout" +L="$L script/widgets/QxVerticalBoxLayout" +L="$L script/widgets/QxHorizontalBoxLayout" # Flow Layout -L="$L widgets/QxFlowLayout" +L="$L script/widgets/QxFlowLayout" # Dock Layout -L="$L widgets/QxDockLayout" +L="$L script/widgets/QxDockLayout" # Grid Layout -L="$L widgets/QxGridLayout" +L="$L script/widgets/QxGridLayout" # Most used Widgets -L="$L widgets/QxText" -L="$L widgets/QxHtml" -L="$L widgets/QxLink" -L="$L widgets/QxIconHtml" -L="$L widgets/QxNode" -L="$L widgets/QxLabel" -L="$L widgets/QxLabelCore" -L="$L widgets/QxAtom" -L="$L widgets/QxButton" -L="$L widgets/QxRepeatButton" +L="$L script/widgets/QxText" +L="$L script/widgets/QxHtml" +L="$L script/widgets/QxLink" +L="$L script/widgets/QxIconHtml" +L="$L script/widgets/QxNode" +L="$L script/widgets/QxLabel" +L="$L script/widgets/QxLabelCore" +L="$L script/widgets/QxAtom" +L="$L script/widgets/QxButton" +L="$L script/widgets/QxRepeatButton" # Radio/Checkbox Support -L="$L managers/QxRadioManager" -L="$L widgets/QxInputCheckIcon" -L="$L widgets/QxCheckBox" -L="$L widgets/QxRadioButton" +L="$L script/managers/QxRadioManager" +L="$L script/widgets/QxInputCheckIcon" +L="$L script/widgets/QxCheckBox" +L="$L script/widgets/QxRadioButton" # Popup Support -L="$L managers/QxPopupManager" -L="$L widgets/QxPopup" -L="$L widgets/QxPopupAtom" +L="$L script/managers/QxPopupManager" +L="$L script/widgets/QxPopup" +L="$L script/widgets/QxPopupAtom" # ToolTip Support -L="$L managers/QxToolTipManager" -L="$L widgets/QxToolTip" +L="$L script/managers/QxToolTipManager" +L="$L script/widgets/QxToolTip" # FieldSet Support -L="$L widgets/QxFieldSet" -L="$L widgets/QxCheckBoxFieldSet" -L="$L widgets/QxRadioButtonFieldSet" +L="$L script/widgets/QxFieldSet" +L="$L script/widgets/QxCheckBoxFieldSet" +L="$L script/widgets/QxRadioButtonFieldSet" # Iframe Support -L="$L widgets/QxIframe" +L="$L script/widgets/QxIframe" # Menu Support -L="$L managers/QxMenuManager" -L="$L layouts/QxMenuLayoutImpl" -L="$L widgets/QxMenuLayout" -L="$L widgets/QxMenu" -L="$L layouts/QxMenuButtonLayoutImpl" -L="$L widgets/QxMenuButton" -L="$L widgets/QxMenuCheckBox" -L="$L widgets/QxMenuRadioButton" -L="$L widgets/QxMenuSeparator" +L="$L script/managers/QxMenuManager" +L="$L script/layouts/QxMenuLayoutImpl" +L="$L script/widgets/QxMenuLayout" +L="$L script/widgets/QxMenu" +L="$L script/layouts/QxMenuButtonLayoutImpl" +L="$L script/widgets/QxMenuButton" +L="$L script/widgets/QxMenuCheckBox" +L="$L script/widgets/QxMenuRadioButton" +L="$L script/widgets/QxMenuSeparator" # ToolBar Support -L="$L widgets/QxToolBar" -L="$L widgets/QxToolBarPart" -L="$L widgets/QxToolBarPartHandle" -L="$L widgets/QxToolBarButton" -L="$L widgets/QxToolBarSeparator" -L="$L widgets/QxToolBarCheckBox" -L="$L widgets/QxToolBarRadioButton" -L="$L widgets/QxToolBarMenuButton" +L="$L script/widgets/QxToolBar" +L="$L script/widgets/QxToolBarPart" +L="$L script/widgets/QxToolBarPartHandle" +L="$L script/widgets/QxToolBarButton" +L="$L script/widgets/QxToolBarSeparator" +L="$L script/widgets/QxToolBarCheckBox" +L="$L script/widgets/QxToolBarRadioButton" +L="$L script/widgets/QxToolBarMenuButton" # Menu Bar Support -L="$L widgets/QxMenuBar" -L="$L widgets/QxMenuBarButton" +L="$L script/widgets/QxMenuBar" +L="$L script/widgets/QxMenuBarButton" # List Support -L="$L gui/QxSelectionStorage" -L="$L managers/QxSelectionManager" -L="$L widgets/QxList" -L="$L widgets/QxListItem" +L="$L script/gui/QxSelectionStorage" +L="$L script/managers/QxSelectionManager" +L="$L script/widgets/QxList" +L="$L script/widgets/QxListItem" # Combo Box -L="$L widgets/QxComboBox" +L="$L script/widgets/QxComboBox" # Spinner -L="$L managers/QxRangeManager" -L="$L widgets/QxSpinner" +L="$L script/managers/QxRangeManager" +L="$L script/widgets/QxSpinner" # Command -L="$L gui/QxCommand" +L="$L script/gui/QxCommand" # Window -L="$L managers/QxWindowManager" -L="$L widgets/QxWindow" +L="$L script/managers/QxWindowManager" +L="$L script/widgets/QxWindow" # Native Window -L="$L gui/QxNativeWindow" +L="$L script/gui/QxNativeWindow" # Flash Object -L="$L gui/QxFlashPlayerVersion" -L="$L widgets/QxFlash" +L="$L script/gui/QxFlashPlayerVersion" +L="$L script/widgets/QxFlash" # Emulation Layers -L="$L core/QxEmu" +L="$L script/core/QxEmu" # Common View -L="$L widgets/QxCommonView" -L="$L widgets/QxCommonViewBar" -L="$L widgets/QxCommonViewPane" -L="$L widgets/QxCommonViewPage" -L="$L widgets/QxCommonViewButton" +L="$L script/widgets/QxCommonView" +L="$L script/widgets/QxCommonViewBar" +L="$L script/widgets/QxCommonViewPane" +L="$L script/widgets/QxCommonViewPage" +L="$L script/widgets/QxCommonViewButton" # Tab View -L="$L widgets/QxTabView" -L="$L widgets/QxTabViewBar" -L="$L widgets/QxTabViewPane" -L="$L widgets/QxTabViewPage" -L="$L widgets/QxTabViewButton" +L="$L script/widgets/QxTabView" +L="$L script/widgets/QxTabViewBar" +L="$L script/widgets/QxTabViewPane" +L="$L script/widgets/QxTabViewPage" +L="$L script/widgets/QxTabViewButton" # Bar View -L="$L widgets/QxBarView" -L="$L widgets/QxBarViewBar" -L="$L widgets/QxBarViewPane" -L="$L widgets/QxBarViewPage" -L="$L widgets/QxBarViewButton" +L="$L script/widgets/QxBarView" +L="$L script/widgets/QxBarViewBar" +L="$L script/widgets/QxBarViewPane" +L="$L script/widgets/QxBarViewPage" +L="$L script/widgets/QxBarViewButton" # Tree Support -L="$L managers/QxTreeSelectionManager" -L="$L widgets/QxTreeElement" -L="$L widgets/QxTreeFile" -L="$L widgets/QxTreeFolder" -L="$L widgets/QxTree" +L="$L script/managers/QxTreeSelectionManager" +L="$L script/widgets/QxTreeElement" +L="$L script/widgets/QxTreeFile" +L="$L script/widgets/QxTreeFolder" +L="$L script/widgets/QxTree" # List View -L="$L managers/QxVirtualSelectionManager" -L="$L widgets/QxListView" -L="$L widgets/QxListViewHeader" -L="$L widgets/QxListViewPane" -L="$L widgets/QxListViewHeaderCell" -L="$L widgets/QxListViewHeaderSeparator" -L="$L widgets/QxListViewContentCellText" -L="$L widgets/QxListViewContentCellImage" -L="$L widgets/QxListViewContentCellHtml" -L="$L widgets/QxListViewContentCellLink" -L="$L widgets/QxListViewContentCellIconHtml" +L="$L script/managers/QxVirtualSelectionManager" +L="$L script/widgets/QxListView" +L="$L script/widgets/QxListViewHeader" +L="$L script/widgets/QxListViewPane" +L="$L script/widgets/QxListViewHeaderCell" +L="$L script/widgets/QxListViewHeaderSeparator" +L="$L script/widgets/QxListViewContentCellText" +L="$L script/widgets/QxListViewContentCellImage" +L="$L script/widgets/QxListViewContentCellHtml" +L="$L script/widgets/QxListViewContentCellLink" +L="$L script/widgets/QxListViewContentCellIconHtml" # Dom Selection Manager -L="$L managers/QxDomSelectionManager" +L="$L script/managers/QxDomSelectionManager" # Gallery -L="$L widgets/QxGallery" -L="$L widgets/QxGalleryList" +L="$L script/widgets/QxGallery" +L="$L script/widgets/QxGalleryList" # Storage -L="$L core/QxCookie" +L="$L script/core/QxCookie" # Debugging -L="$L core/QxTimeTracker" +L="$L script/core/QxTimeTracker" # Transport -L="$L transport/QxRequest" -L="$L transport/QxResponse" +L="$L script/transport/QxRequest" +L="$L script/transport/QxResponse" -L="$L transport/QxGetRequest" -L="$L transport/QxPostRequest" +L="$L script/transport/QxGetRequest" +L="$L script/transport/QxPostRequest" -L="$L transport/QxRequestQueue" -L="$L transport/QxTransport" +L="$L script/transport/QxRequestQueue" +L="$L script/transport/QxTransport" -L="$L transport/QxXmlHttpTransport" -L="$L transport/QxIframeTransport" +L="$L script/transport/QxXmlHttpTransport" +L="$L script/transport/QxIframeTransport" # Builder -L="$L core/QxBuilder" +L="$L script/core/QxBuilder" Index: compress.sh =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/compress.sh,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -d -r1.1 -r1.1.2.1 --- compress.sh 4 Mar 2005 10:59:24 -0000 1.1 +++ compress.sh 3 Feb 2006 10:18:36 -0000 1.1.2.1 @@ -7,6 +7,11 @@ python tools/compile.py --sourcepath source/script --publicpath public/script --cachepath ".cache/script" --docpath public/script --prefix docs --job compress +mkdir -p public/themes +mkdir -p .cache/themes + +python tools/compile.py --sourcepath source/themes --publicpath public/themes --cachepath ".cache/themes" --docpath public/themes --prefix docs --job compress + mkdir -p public/style mkdir -p .cache/style |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:18:44
|
Update of /cvsroot/qooxdoo/qooxdoo/tools/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14238/tools/script Modified Files: Tag: renderer includer.js.in Log Message: Moved appearance, to new theme folder, updated build scripts to handle scripts also in this directory Index: includer.js.in =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/script/includer.js.in,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -d -r1.1 -r1.1.2.1 --- includer.js.in 4 Mar 2005 17:10:49 -0000 1.1 +++ includer.js.in 3 Feb 2006 10:18:36 -0000 1.1.2.1 @@ -1 +1 @@ -function inc(pa) { document.write("<script type=\"text/javascript\" src=\"../../script/" + pa + ".js\"></script>"); }; +function inc(pa) { document.write("<script type=\"text/javascript\" src=\"../../" + pa + ".js\"></script>"); }; |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:17:52
|
Update of /cvsroot/qooxdoo/qooxdoo/source/html/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13814/source/html/test Modified Files: Tag: renderer List_4.html Log Message: Dos2unix Index: List_4.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/html/test/Attic/List_4.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 --- List_4.html 27 Jan 2006 10:46:37 -0000 1.1.2.1 +++ List_4.html 3 Feb 2006 10:17:42 -0000 1.1.2.2 @@ -1,124 +1,124 @@ -<?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/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>List with colored List Items</p> - </div> - - <script type="text/javascript"> - - // first we create a new appearance called colored-list-item and add it to the current - // appearance theme. This appearance is mainly a copy of the list-item appearance. - // note the commented difference below in the state function - // - QxAppearanceManager.getAppearanceThemeObject().registerAppearance("colored-list-item", - { - setup : function() - { - this.bgcolor_selected = new QxColorObject("highlight"); - this.color_selected = new QxColorObject("highlighttext"); - }, - - initial : function(vWidget, vTheme) - { - return { - cursor : QxConst.CORE_DEFAULT, - height : QxConst.CORE_AUTO, - horizontalChildrenAlign : QxConst.ALIGN_LEFT, - verticalChildrenAlign : QxConst.ALIGN_MIDDLE, - spacing : 4, - paddingTop : 3, - paddingRight : 5, - paddingBottom : 3, - paddingLeft : 5 - }; - }, - - state : function(vWidget, vTheme, vStates) - { - if (vStates.lead) - { - vWidget.setStyleProperty("MozOutline", QxConst.FOCUS_OUTLINE); - vWidget.setStyleProperty("outline", QxConst.FOCUS_OUTLINE); - } - else - { - vWidget.removeStyleProperty("MozOutline"); - vWidget.removeStyleProperty("outline"); - }; - - return { - // in the case vStates.selected is false, the backgroundColor is set to backgroundColorUnselected - // - backgroundColor : vStates.selected ? this.bgcolor_selected : vWidget.getBackgroundColorUnselected(), - color : vStates.selected ? this.color_selected : null - }; - } - }); - - // second we create a new class QxColoredListItem which is derived - // from QxListItem and has an additional property backgroundColorUnselected - // and a changed appearance to "colored-list-item" - // - function QxColoredListItem(vText, vIcon, vValue) { - QxListItem.call(this, vText, vIcon, vValue); - }; - - QxColoredListItem.extend(QxListItem, "QxColoredListItem"); - - QxColoredListItem.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "colored-list-item" }); - - QxColoredListItem.addProperty({ name : "backgroundColorUnselected", type : QxConst.TYPEOF_OBJECT, instance : "QxColor", convert : QxColorCache, allowMultipleArguments : true }); - - - - window.application.main = function() - { - var doc = this.getClientWindow().getClientDocument(); - - - var sourceList = new QxList(); - sourceList.setWidth(200); - sourceList.setHeight(400); - sourceList.setLeft(20); - sourceList.setTop(48); - - // Set horizontal scroll bar to always visible - sourceList.setOverflow("auto"); - - var colors = [ new QxColor("#FFDFDF"), new QxColor("#FEFF9F"), new QxColor("#AAFFFF") ]; - - // Add items to source list - - for (var i = 1; i <= 10; i++) - { - // now we use the class QxColoredListItem and set the backgroundColorUnselected - // to alternating colors - // - var item = new QxColoredListItem("Item " + i + " is colored."); - item.setBackgroundColorUnselected(colors[i%3]); - sourceList.add(item); - }; - - doc.add(sourceList); - - }; - </script> -</body> -</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/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>List with colored List Items</p> + </div> + + <script type="text/javascript"> + + // first we create a new appearance called colored-list-item and add it to the current + // appearance theme. This appearance is mainly a copy of the list-item appearance. + // note the commented difference below in the state function + // + QxAppearanceManager.getAppearanceThemeObject().registerAppearance("colored-list-item", + { + setup : function() + { + this.bgcolor_selected = new QxColorObject("highlight"); + this.color_selected = new QxColorObject("highlighttext"); + }, + + initial : function(vWidget, vTheme) + { + return { + cursor : QxConst.CORE_DEFAULT, + height : QxConst.CORE_AUTO, + horizontalChildrenAlign : QxConst.ALIGN_LEFT, + verticalChildrenAlign : QxConst.ALIGN_MIDDLE, + spacing : 4, + paddingTop : 3, + paddingRight : 5, + paddingBottom : 3, + paddingLeft : 5 + }; + }, + + state : function(vWidget, vTheme, vStates) + { + if (vStates.lead) + { + vWidget.setStyleProperty("MozOutline", QxConst.FOCUS_OUTLINE); + vWidget.setStyleProperty("outline", QxConst.FOCUS_OUTLINE); + } + else + { + vWidget.removeStyleProperty("MozOutline"); + vWidget.removeStyleProperty("outline"); + }; + + return { + // in the case vStates.selected is false, the backgroundColor is set to backgroundColorUnselected + // + backgroundColor : vStates.selected ? this.bgcolor_selected : vWidget.getBackgroundColorUnselected(), + color : vStates.selected ? this.color_selected : null + }; + } + }); + + // second we create a new class QxColoredListItem which is derived + // from QxListItem and has an additional property backgroundColorUnselected + // and a changed appearance to "colored-list-item" + // + function QxColoredListItem(vText, vIcon, vValue) { + QxListItem.call(this, vText, vIcon, vValue); + }; + + QxColoredListItem.extend(QxListItem, "QxColoredListItem"); + + QxColoredListItem.changeProperty({ name : "appearance", type : QxConst.TYPEOF_STRING, defaultValue : "colored-list-item" }); + + QxColoredListItem.addProperty({ name : "backgroundColorUnselected", type : QxConst.TYPEOF_OBJECT, instance : "QxColor", convert : QxColorCache, allowMultipleArguments : true }); + + + + window.application.main = function() + { + var doc = this.getClientWindow().getClientDocument(); + + + var sourceList = new QxList(); + sourceList.setWidth(200); + sourceList.setHeight(400); + sourceList.setLeft(20); + sourceList.setTop(48); + + // Set horizontal scroll bar to always visible + sourceList.setOverflow("auto"); + + var colors = [ new QxColor("#FFDFDF"), new QxColor("#FEFF9F"), new QxColor("#AAFFFF") ]; + + // Add items to source list + + for (var i = 1; i <= 10; i++) + { + // now we use the class QxColoredListItem and set the backgroundColorUnselected + // to alternating colors + // + var item = new QxColoredListItem("Item " + i + " is colored."); + item.setBackgroundColorUnselected(colors[i%3]); + sourceList.add(item); + }; + + doc.add(sourceList); + + }; + </script> +</body> +</html> |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 10:17:39
|
Update of /cvsroot/qooxdoo/qooxdoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13775 Modified Files: Tag: renderer TODO Log Message: Added font theme Index: TODO =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/TODO,v retrieving revision 1.1.2.53 retrieving revision 1.1.2.54 diff -u -d -r1.1.2.53 -r1.1.2.54 --- TODO 2 Feb 2006 16:51:03 -0000 1.1.2.53 +++ TODO 3 Feb 2006 10:17:30 -0000 1.1.2.54 @@ -42,6 +42,8 @@ * Add QxScrollBar * Add QxSplitPane +* QxFontTheme + * Accelerator support for QxAtom * Add overflow fallback handling to layouts (show a menu at the end when the toolbar is to small) |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 09:58:11
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/httptransport_ricks Modified Files: Tag: renderer Http_Transport_1.html QxHttpTransport.js QxHttpTransportQueue.js Log Message: dos2unix Index: QxHttpTransportQueue.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks/Attic/QxHttpTransportQueue.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxHttpTransportQueue.js 24 Jan 2006 14:12:45 -0000 1.1.2.1 +++ QxHttpTransportQueue.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,127 +1,127 @@ -/***************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2006 by IT Operations PTY LTD (www.itoperations.com.au) - All rights reserved - - License: - LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ - - Internet: - * http://qooxdoo.oss.schlund.de - - Authors: - * Chris Ricks - <chris at itoperations dot com dot au> - -*****************************************************************************/ - -function QxHttpTransportQueue(activeCount, queuedCount) { - if (!activeCount) { - throw new Error("Active queue length must be explicitly set."); - } else { - this.setActiveLimit(activeCount); - } - - if (queuedCount) { - this.setQueueLimit(queuedCount); - } - - this._active = new Array(); - - if (0 != this.getQueueLimit()) { - this._queued = new Array(); - } -} - -QxHttpTransportQueue.extend(QxTarget, "QxHttpTransportQueue"); - -proto._activeLimit = -1; - -QxHttpTransportQueue.addProperty({name : "queueLimit", type : QxConst.TYPEOF_NUMBER, defaultValue : -1}); - -proto.getActiveLimit = function() { - return this._activeLimit; -} - -proto.setActiveLimit = function(limit) { - if (0 <= limit && limit != this._activeLimit) { - if (-1 == this._activeLimit) { - QxHttpTransport.alterPoolSize(limit); - } else { - QxHttpTransport.alterPoolSize(limit - this._activeLimit); - } - this._activeLimit = limit; - } -} - -proto._active = null; -proto._queued = null; - -proto.add = function() { - for (var i = 0; i < arguments.length; i++) { - this._add(arguments[i]); - } -} - -proto.remove = function() { - for (var i = 0; i < arguments.length; i++) { - this._remove(arguments[i]); - } -} - -proto.contains = function(req) { - if (this._active.contains(req) || this._queued.contains(req)) { - return true; - } else { - return false; - } -} - -proto._add = function(req) { - if (this.contains(req)) { - return; - } - if (this.getActiveLimit() == -1 || this._active.length < this.getActiveLimit()) { - this._active.push(req); - req._begin(); - return true; - } else if (this.getQueueLimit() == -1 || this._queued.length < this.getQueueLimit()) { - this._queued.push(req); - return true; - } else { - return false; - } -} - -proto._pump = function() { - if (this._active.length < this.getActiveLimit() && this._queued.length > 0) { - var req = this._queued.getFirst(); - this._active.push(req); - this._queued.remove(req); - req._begin(); - } -} - -proto.dispose = function() { - // Cowardly refuse to dispose a non-empty queue instance - if (0 == this._active.length && 0 == this._queued.length) { - delete this._active; - delete this._queued; - - return QxTarget.prototype.dispose.call(this); - } else { - return false; - } -} - -proto._remove = function(req) { - this._active.remove(req); - this._queued.remove(req); - this._pump(); +/***************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + Copyright: + (C) 2006 by IT Operations PTY LTD (www.itoperations.com.au) + All rights reserved + + License: + LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/ + + Internet: + * http://qooxdoo.oss.schlund.de + + Authors: + * Chris Ricks + <chris at itoperations dot com dot au> + +*****************************************************************************/ + +function QxHttpTransportQueue(activeCount, queuedCount) { + if (!activeCount) { + throw new Error("Active queue length must be explicitly set."); + } else { + this.setActiveLimit(activeCount); + } + + if (queuedCount) { + this.setQueueLimit(queuedCount); + } + + this._active = new Array(); + + if (0 != this.getQueueLimit()) { + this._queued = new Array(); + } +} + +QxHttpTransportQueue.extend(QxTarget, "QxHttpTransportQueue"); + +proto._activeLimit = -1; + +QxHttpTransportQueue.addProperty({name : "queueLimit", type : QxConst.TYPEOF_NUMBER, defaultValue : -1}); + +proto.getActiveLimit = function() { + return this._activeLimit; +} + +proto.setActiveLimit = function(limit) { + if (0 <= limit && limit != this._activeLimit) { + if (-1 == this._activeLimit) { + QxHttpTransport.alterPoolSize(limit); + } else { + QxHttpTransport.alterPoolSize(limit - this._activeLimit); + } + this._activeLimit = limit; + } +} + +proto._active = null; +proto._queued = null; + +proto.add = function() { + for (var i = 0; i < arguments.length; i++) { + this._add(arguments[i]); + } +} + +proto.remove = function() { + for (var i = 0; i < arguments.length; i++) { + this._remove(arguments[i]); + } +} + +proto.contains = function(req) { + if (this._active.contains(req) || this._queued.contains(req)) { + return true; + } else { + return false; + } +} + +proto._add = function(req) { + if (this.contains(req)) { + return; + } + if (this.getActiveLimit() == -1 || this._active.length < this.getActiveLimit()) { + this._active.push(req); + req._begin(); + return true; + } else if (this.getQueueLimit() == -1 || this._queued.length < this.getQueueLimit()) { + this._queued.push(req); + return true; + } else { + return false; + } +} + +proto._pump = function() { + if (this._active.length < this.getActiveLimit() && this._queued.length > 0) { + var req = this._queued.getFirst(); + this._active.push(req); + this._queued.remove(req); + req._begin(); + } +} + +proto.dispose = function() { + // Cowardly refuse to dispose a non-empty queue instance + if (0 == this._active.length && 0 == this._queued.length) { + delete this._active; + delete this._queued; + + return QxTarget.prototype.dispose.call(this); + } else { + return false; + } +} + +proto._remove = function(req) { + this._active.remove(req); + this._queued.remove(req); + this._pump(); } \ No newline at end of file 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.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- Http_Transport_1.html 24 Jan 2006 14:25:19 -0000 1.1.2.2 +++ Http_Transport_1.html 3 Feb 2006 09:58:00 -0000 1.1.2.3 @@ -1,138 +1,138 @@ -<?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="QxHttpTransportQueue.js"></script> - <script type="text/javascript" src="QxHttpTransport.js"></script> -</head> -<body> - <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> - <div id="testDescription"> - <p>QxHttpTransport test - Ugly but functional</p> - </div> - <script type="text/javascript"> - window.application.main = function() { - var d = this.getClientWindow().getClientDocument(); - - var req = new QxHttpTransport(); - var queue = new QxHttpTransportQueue(1); - - req.setQueue(queue); - - var ta = new QxTextArea(); - var fs = new QxFieldSet("Response"); - var statLabel = new QxLabel("Status code:"); - var statCode = new QxTextField(); - - var sizeLabel = new QxLabel("Transfer:"); - var sizeText = new QxTextField(); - - function handleSendClick(e) { - sizeText.setValue("0"); - req.setTarget(targetBox.getValue()); - req.setPayload(payloadBox.getValue()); - req.send(); - } - - function inspect(obj) { - var s = new String(); - - for (var i in obj) { - s += i + ": " + obj[i] + "\n"; - } - return s; - } - - function handleReqDone(e) { - ta.setValue(this.getResponseText()); - statCode.setValue(this.getReadyState().toString()); - } - - function handleReqError(e) { - ta.setValue(inspect(e)); - statCode.setValue(this.getReadyState().toString); - } - - function handleReqProgress(e) { - sizeText.setValue(this.getFetchedLength().toString()); - } - - statLabel.setLocation(200, 48); - statCode.setLocation(280, 48); - statCode.setReadOnly(true); - - sizeLabel.setLocation(200, 78); - sizeText.setLocation(280, 78); - - fs.setLocation(20, 150); - fs.setWidth(600); - fs.setHeight(600); - fs.add(ta) - ta.setHeight("100%"); - ta.setWidth("100%"); - ta.setReadOnly(true); - - this.add(fs); - this.add(statLabel); - this.add(statCode); - - this.add(sizeLabel); - this.add(sizeText); - - req.addEventListener("error", handleReqError); - req.addEventListener("done", handleReqDone); - req.addEventListener("progress", handleReqProgress); - - var grid = new QxGridLayout(); - this.add(grid); - - with (grid) { - setLocation(20, 48); - setColumnCount(2); - setDimension("auto", "auto"); - setBorder(QxBorderObject.presets.outset); - setRowCount(3); - setVerticalSpacing(4); - setPadding(8); - - for (var i = 0; i < getRowCount(); i++) { - setRowHeight(i, 20); - } - - setColumnWidth(0, 45); - setColumnWidth(1, 100); - } - - var targetLabel = new QxLabel("Target"); - var targetBox = new QxTextField(); - - var payloadLabel = new QxLabel("Payload"); - var payloadBox = new QxTextField(); - - var button = new QxButton("Send"); - button.setHorizontalAlign("right"); - button.addEventListener("execute", handleSendClick); - - grid.add(targetLabel, 0, 0); - grid.add(targetBox, 1, 0); - grid.add(payloadLabel, 0, 1); - grid.add(payloadBox, 1, 1); - grid.add(button, 1, 2); - - - } - </script> -</body> +<?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="QxHttpTransportQueue.js"></script> + <script type="text/javascript" src="QxHttpTransport.js"></script> +</head> +<body> + <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> + <div id="testDescription"> + <p>QxHttpTransport test - Ugly but functional</p> + </div> + <script type="text/javascript"> + window.application.main = function() { + var d = this.getClientWindow().getClientDocument(); + + var req = new QxHttpTransport(); + var queue = new QxHttpTransportQueue(1); + + req.setQueue(queue); + + var ta = new QxTextArea(); + var fs = new QxFieldSet("Response"); + var statLabel = new QxLabel("Status code:"); + var statCode = new QxTextField(); + + var sizeLabel = new QxLabel("Transfer:"); + var sizeText = new QxTextField(); + + function handleSendClick(e) { + sizeText.setValue("0"); + req.setTarget(targetBox.getValue()); + req.setPayload(payloadBox.getValue()); + req.send(); + } + + function inspect(obj) { + var s = new String(); + + for (var i in obj) { + s += i + ": " + obj[i] + "\n"; + } + return s; + } + + function handleReqDone(e) { + ta.setValue(this.getResponseText()); + statCode.setValue(this.getReadyState().toString()); + } + + function handleReqError(e) { + ta.setValue(inspect(e)); + statCode.setValue(this.getReadyState().toString); + } + + function handleReqProgress(e) { + sizeText.setValue(this.getFetchedLength().toString()); + } + + statLabel.setLocation(200, 48); + statCode.setLocation(280, 48); + statCode.setReadOnly(true); + + sizeLabel.setLocation(200, 78); + sizeText.setLocation(280, 78); + + fs.setLocation(20, 150); + fs.setWidth(600); + fs.setHeight(600); + fs.add(ta) + ta.setHeight("100%"); + ta.setWidth("100%"); + ta.setReadOnly(true); + + this.add(fs); + this.add(statLabel); + this.add(statCode); + + this.add(sizeLabel); + this.add(sizeText); + + req.addEventListener("error", handleReqError); + req.addEventListener("done", handleReqDone); + req.addEventListener("progress", handleReqProgress); + + var grid = new QxGridLayout(); + this.add(grid); + + with (grid) { + setLocation(20, 48); + setColumnCount(2); + setDimension("auto", "auto"); + setBorder(QxBorderObject.presets.outset); + setRowCount(3); + setVerticalSpacing(4); + setPadding(8); + + for (var i = 0; i < getRowCount(); i++) { + setRowHeight(i, 20); + } + + setColumnWidth(0, 45); + setColumnWidth(1, 100); + } + + var targetLabel = new QxLabel("Target"); + var targetBox = new QxTextField(); + + var payloadLabel = new QxLabel("Payload"); + var payloadBox = new QxTextField(); + + var button = new QxButton("Send"); + button.setHorizontalAlign("right"); + button.addEventListener("execute", handleSendClick); + + grid.add(targetLabel, 0, 0); + grid.add(targetBox, 1, 0); + grid.add(payloadLabel, 0, 1); + grid.add(payloadBox, 1, 1); + grid.add(button, 1, 2); + + + } + </script> +</body> </html> \ No newline at end of file Index: QxHttpTransport.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/httptransport_ricks/Attic/QxHttpTransport.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxHttpTransport.js 24 Jan 2006 14:12:45 -0000 1.1.2.1 +++ QxHttpTransport.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,632 +1,632 @@ -/***************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2006 by IT Operations PTY LTD (www.itoperations.com.au) - All rights reserved - [...1233 lines suppressed...] + + this._activeTimeouts[endState].push(timeout); + this._pendingTimeouts[rs].removeAt(i); + timeout.start(); + } + } + } +} + +proto._depopulateActiveTimeoutQueue = function(queue) { + for (var i = 0; i < queue.length; i++) { + var timeout = queue[i]; + var startState = timeout.getData("startstate"); + + timeout.stop(); + this._pendingTimeouts[startState].push(timeout); + queue.removeAt(i); + } +} + |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 09:58:11
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/clock_olsson Modified Files: Tag: renderer Clock_1.html QxBinaryClock.js QxClock.js QxDigitalClock.js Log Message: dos2unix Index: Clock_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/Attic/Clock_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 --- Clock_1.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ Clock_1.html 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,47 +1,47 @@ -<?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> +<?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> Index: QxClock.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/Attic/QxClock.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxClock.js 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ QxClock.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,154 +1,154 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); -}; +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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); +}; Index: QxDigitalClock.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/Attic/QxDigitalClock.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxDigitalClock.js 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ QxDigitalClock.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,143 +1,143 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); -}; +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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); +}; Index: QxBinaryClock.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/clock_olsson/Attic/QxBinaryClock.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxBinaryClock.js 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ QxBinaryClock.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,190 +1,190 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); -}; +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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-02-03 09:58:10
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/progressbar_vogel Modified Files: Tag: renderer Progressanim_1.html Progressbar_1.html QxProgressanim.js QxProgressbar.js Log Message: dos2unix Index: Progressanim_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel/Attic/Progressanim_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 --- Progressanim_1.html 24 Jan 2006 14:12:46 -0000 1.1.2.1 +++ Progressanim_1.html 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,71 +1,71 @@ -<?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> - <script type="text/javascript" src="QxProgressanim.js"></script> -</head> -<body> - <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> - - <div id="testDescription"> - <p>Simple test of the QxProgressanim</p> - </div> - - <script type="text/javascript"> - window.application.main = function() - { - var d = this.getClientWindow().getClientDocument(); - var p1 = new QxProgressanim(200); - - with(p1) - { - setLeft(20); - setTop(64); - }; - - d.add(p1); - - var btn1 = new QxButton("Start animation"); - with(btn1) - { - setTop(100); - setLeft(20); - addEventListener("execute", function(e) { p1.startAnimation(); }); - } - d.add(btn1); - - var btn2 = new QxButton("Stop animation"); - with(btn2) - { - setTop(100); - setLeft(120); - addEventListener("execute", function(e) { p1.stopAnimation(); }); - } - d.add(btn2); - - var btn3 = new QxButton("Clear Bar"); - with(btn3) - { - setTop(130); - setLeft(20); - addEventListener("execute", function(e) { p1.clearBar(); }); - } - d.add(btn3); - }; - </script> - -</body> +<?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> + <script type="text/javascript" src="QxProgressanim.js"></script> +</head> +<body> + <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> + + <div id="testDescription"> + <p>Simple test of the QxProgressanim</p> + </div> + + <script type="text/javascript"> + window.application.main = function() + { + var d = this.getClientWindow().getClientDocument(); + var p1 = new QxProgressanim(200); + + with(p1) + { + setLeft(20); + setTop(64); + }; + + d.add(p1); + + var btn1 = new QxButton("Start animation"); + with(btn1) + { + setTop(100); + setLeft(20); + addEventListener("execute", function(e) { p1.startAnimation(); }); + } + d.add(btn1); + + var btn2 = new QxButton("Stop animation"); + with(btn2) + { + setTop(100); + setLeft(120); + addEventListener("execute", function(e) { p1.stopAnimation(); }); + } + d.add(btn2); + + var btn3 = new QxButton("Clear Bar"); + with(btn3) + { + setTop(130); + setLeft(20); + addEventListener("execute", function(e) { p1.clearBar(); }); + } + d.add(btn3); + }; + </script> + +</body> </html> \ No newline at end of file Index: QxProgressbar.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel/Attic/QxProgressbar.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxProgressbar.js 24 Jan 2006 14:12:46 -0000 1.1.2.1 +++ QxProgressbar.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,231 +1,231 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ //???Olli??? - - 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: //???Olli??? - * Oliver Vogel - <o dot vogel at muv dot com> - -**************************************************************************** */ - -/* **************************************************************************** - -#package(form) //???Olli??? -#require(QxBorderObject) -#require(QxTerminator) -#require(QxText) - -**************************************************************************** */ - -function QxProgressbar(vMax, vShowPercent) -{ - QxCanvasLayout.call(this); - - this.setWidth(250); - this.setHeight(22); - this.setBorder(QxBorderObject.presets.inset); - this.setTabIndex(-1); - - // *********************************************************************** - // Progress-Bar itself - // *********************************************************************** - this._bar = new QxTerminator(); - this._bar.set({ left: 0, bottom: 0, top: 0, border : QxBorder.presets.none }); - this._bar.setBackgroundColor("green"); - this.add(this._bar); - - // *********************************************************************** - // % - Text - // *********************************************************************** - this._percent = new QxText(); - this._percent.set({ left: 0, bottom: 0, top: 0, right: 0 }); - this._percent.setDisplay(false); // to avoid flicking if not used - this._percent.setColor("white"); - this.add(this._percent); - - // *********************************************************************** - // INITIALIZATION - // *********************************************************************** - if(QxUtil.isValidNumber(vMax)) { - this.setMax(vMax); - }; - if(QxUtil.isValidBoolean(vShowPercent)) { - this.setShowPercent(vShowPercent); - }; -}; - -QxProgressbar.extend(QxCanvasLayout, "QxProgressbar"); - - -/* ------------------------------------------------------------------------------------- - PROPERTIES ------------------------------------------------------------------------------------- -*/ - -/*! - The value of the left position -*/ -QxProgressbar.addProperty({ name : "min", type : QxConst.TYPEOF_NUMBER, defaultValue : 0 }); - -/*! - The value of the right position -*/ -QxProgressbar.addProperty({ name : "max", type : QxConst.TYPEOF_NUMBER, defaultValue : 100 }); - -/*! - The amount to increment on each step. -*/ -QxProgressbar.addProperty({ name : "stepBy", type : QxConst.TYPEOF_NUMBER, defaultValue : 1 }); - -/*! - The current position of the progress. -*/ -QxProgressbar.addProperty({ name : "position", type : QxConst.TYPEOF_NUMBER, defaultValue : 0 }); - -/*! - Should the % be visible -*/ -QxProgressbar.addProperty({ name : "showPercent", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); - - -/* ------------------------------------------------------------------------------------- - PREFERRED DIMENSIONS ------------------------------------------------------------------------------------- -*/ - -proto._computePreferredInnerWidth = function() { //???Olli??? - return 200; -}; - -proto._computePreferredInnerHeight = function() { //???Olli??? - return 20; -}; - - - -/* ------------------------------------------------------------------------------------- - GETTER AND SETTER ------------------------------------------------------------------------------------- -*/ -proto._checkMin = function(newValue, propData){ - // min must be < max - if (newValue < this.getMax()) return newValue; - return this.getMin(); -}; -proto._modifyMin = function(propValue, propOldValue, propData) -{ - // position must be >= min - if (this.getPosition() < propValue) this.setPosition(propValue); - // make changes visible - return this._applyChanges(); -} - - -proto._checkMax = function(newValue, propData){ - // max must be > min - if (newValue > this.getMin()) return newValue; - return this.getMax(); -}; -proto._modifyMax = function(propValue, propOldValue, propData) -{ - // position must be <= max - if (this.getPosition() > propValue) this.setPosition(propValue); - // make changes visible - return this._applyChanges(); -} - - -proto._checkPosition = function(newValue, propData){ - // position must be inside min and max - if (newValue < this.getMin()) return this.getMin(); - if (newValue > this.getMax()) return this.getMax(); - return newValue; -}; -proto._modifyPosition = function(propValue, propOldValue, propData) -{ - // make changes visible - return this._applyChanges(); -}; - -proto._modifyShowPercent = function(propValue, propOldValue, propData) -{ - // show or hide the Text - this._percent.setDisplay(propValue); - // ready - return true; -} - - - -/* ------------------------------------------------------------------------------------- - THE ACTION ------------------------------------------------------------------------------------- -*/ -proto.stepIt = function(){ - this.setPosition(this.getPosition() + this.getStepBy()); -} - - -/* ------------------------------------------------------------------------------------- - INTERNAL STUFF ------------------------------------------------------------------------------------- -*/ -proto._applyChanges = function(){ - // calc position in % - var p = this.getPosition() - this.getMin(); - var g = this.getMax() - this.getMin(); - var percent = (p * 100) / g; - // set width of the bar to show the progress - this._bar.setWidth(percent + '%'); - // set the text - this._percent.setText(Math.round(percent) + '%'); - // ready - return true; -} - - - -/* ------------------------------------------------------------------------------------- - DISPOSER ------------------------------------------------------------------------------------- -*/ - -proto.dispose = function() -{ - if (this.getDisposed()) { - return; - }; - - if (this._bar) - { - this._bar.dispose(); - this._bar = null; - }; - - if (this._percent) - { - this._percent.dispose(); - this._percent = null; - }; - - return QxCanvasLayout.prototype.dispose.call(this); +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ //???Olli??? + + 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: //???Olli??? + * Oliver Vogel + <o dot vogel at muv dot com> + +**************************************************************************** */ + +/* **************************************************************************** + +#package(form) //???Olli??? +#require(QxBorderObject) +#require(QxTerminator) +#require(QxText) + +**************************************************************************** */ + +function QxProgressbar(vMax, vShowPercent) +{ + QxCanvasLayout.call(this); + + this.setWidth(250); + this.setHeight(22); + this.setBorder(QxBorderObject.presets.inset); + this.setTabIndex(-1); + + // *********************************************************************** + // Progress-Bar itself + // *********************************************************************** + this._bar = new QxTerminator(); + this._bar.set({ left: 0, bottom: 0, top: 0, border : QxBorder.presets.none }); + this._bar.setBackgroundColor("green"); + this.add(this._bar); + + // *********************************************************************** + // % - Text + // *********************************************************************** + this._percent = new QxText(); + this._percent.set({ left: 0, bottom: 0, top: 0, right: 0 }); + this._percent.setDisplay(false); // to avoid flicking if not used + this._percent.setColor("white"); + this.add(this._percent); + + // *********************************************************************** + // INITIALIZATION + // *********************************************************************** + if(QxUtil.isValidNumber(vMax)) { + this.setMax(vMax); + }; + if(QxUtil.isValidBoolean(vShowPercent)) { + this.setShowPercent(vShowPercent); + }; +}; + +QxProgressbar.extend(QxCanvasLayout, "QxProgressbar"); + + +/* +------------------------------------------------------------------------------------ + PROPERTIES +------------------------------------------------------------------------------------ +*/ + +/*! + The value of the left position +*/ +QxProgressbar.addProperty({ name : "min", type : QxConst.TYPEOF_NUMBER, defaultValue : 0 }); + +/*! + The value of the right position +*/ +QxProgressbar.addProperty({ name : "max", type : QxConst.TYPEOF_NUMBER, defaultValue : 100 }); + +/*! + The amount to increment on each step. +*/ +QxProgressbar.addProperty({ name : "stepBy", type : QxConst.TYPEOF_NUMBER, defaultValue : 1 }); + +/*! + The current position of the progress. +*/ +QxProgressbar.addProperty({ name : "position", type : QxConst.TYPEOF_NUMBER, defaultValue : 0 }); + +/*! + Should the % be visible +*/ +QxProgressbar.addProperty({ name : "showPercent", type : QxConst.TYPEOF_BOOLEAN, defaultValue : false }); + + +/* +------------------------------------------------------------------------------------ + PREFERRED DIMENSIONS +------------------------------------------------------------------------------------ +*/ + +proto._computePreferredInnerWidth = function() { //???Olli??? + return 200; +}; + +proto._computePreferredInnerHeight = function() { //???Olli??? + return 20; +}; + + + +/* +------------------------------------------------------------------------------------ + GETTER AND SETTER +------------------------------------------------------------------------------------ +*/ +proto._checkMin = function(newValue, propData){ + // min must be < max + if (newValue < this.getMax()) return newValue; + return this.getMin(); +}; +proto._modifyMin = function(propValue, propOldValue, propData) +{ + // position must be >= min + if (this.getPosition() < propValue) this.setPosition(propValue); + // make changes visible + return this._applyChanges(); +} + + +proto._checkMax = function(newValue, propData){ + // max must be > min + if (newValue > this.getMin()) return newValue; + return this.getMax(); +}; +proto._modifyMax = function(propValue, propOldValue, propData) +{ + // position must be <= max + if (this.getPosition() > propValue) this.setPosition(propValue); + // make changes visible + return this._applyChanges(); +} + + +proto._checkPosition = function(newValue, propData){ + // position must be inside min and max + if (newValue < this.getMin()) return this.getMin(); + if (newValue > this.getMax()) return this.getMax(); + return newValue; +}; +proto._modifyPosition = function(propValue, propOldValue, propData) +{ + // make changes visible + return this._applyChanges(); +}; + +proto._modifyShowPercent = function(propValue, propOldValue, propData) +{ + // show or hide the Text + this._percent.setDisplay(propValue); + // ready + return true; +} + + + +/* +------------------------------------------------------------------------------------ + THE ACTION +------------------------------------------------------------------------------------ +*/ +proto.stepIt = function(){ + this.setPosition(this.getPosition() + this.getStepBy()); +} + + +/* +------------------------------------------------------------------------------------ + INTERNAL STUFF +------------------------------------------------------------------------------------ +*/ +proto._applyChanges = function(){ + // calc position in % + var p = this.getPosition() - this.getMin(); + var g = this.getMax() - this.getMin(); + var percent = (p * 100) / g; + // set width of the bar to show the progress + this._bar.setWidth(percent + '%'); + // set the text + this._percent.setText(Math.round(percent) + '%'); + // ready + return true; +} + + + +/* +------------------------------------------------------------------------------------ + DISPOSER +------------------------------------------------------------------------------------ +*/ + +proto.dispose = function() +{ + if (this.getDisposed()) { + return; + }; + + if (this._bar) + { + this._bar.dispose(); + this._bar = null; + }; + + if (this._percent) + { + this._percent.dispose(); + this._percent = null; + }; + + return QxCanvasLayout.prototype.dispose.call(this); }; \ No newline at end of file Index: QxProgressanim.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel/Attic/QxProgressanim.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxProgressanim.js 24 Jan 2006 14:12:46 -0000 1.1.2.1 +++ QxProgressanim.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,189 +1,189 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ //???Olli??? - - 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: //???Olli??? - * Oliver Vogel - <o dot vogel at muv dot com> - -**************************************************************************** */ - -/* **************************************************************************** - -#package(form) //???Olli??? -#require(QxBorderObject) -#require(QxTerminator) -#require(QxTimer) - -**************************************************************************** */ - -// the width of the bar itself (in %) -QxProgressanim.BAR_WIDTH = 50; - - -function QxProgressanim() -{ - QxCanvasLayout.call(this); - - this.setWidth(250); - this.setHeight(22); - this.setBorder(QxBorderObject.presets.inset); - this.setTabIndex(-1); - - // *********************************************************************** - // Progress-Bar itself - // *********************************************************************** - this._bar = new QxTerminator(); - this._bar.set({ left: 0, bottom: 0, top: 0, border : QxBorder.presets.none }); - this._bar.setBackgroundColor("green"); - this.add(this._bar); - - // *********************************************************************** - // TIMER FOR ANIMATION - // *********************************************************************** - this._timer = new QxTimer(100); - this._timer.addEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); - - // *********************************************************************** - // INITIALIZATION - // *********************************************************************** - this._position = 0; - this._leftToRight = true; - - // Hide the Bar - this.clearBar() - -}; - -QxProgressanim.extend(QxCanvasLayout, "QxProgressanim"); - - -/* ------------------------------------------------------------------------------------- - PREFERRED DIMENSIONS ------------------------------------------------------------------------------------- -*/ - -proto._computePreferredInnerWidth = function() { //???Olli??? - return 200; -}; - -proto._computePreferredInnerHeight = function() { //???Olli??? - return 20; -}; - - -/* ------------------------------------------------------------------------------------- - THE ACTION ------------------------------------------------------------------------------------- -*/ -proto.startAnimation = function(){ - this._timer.start(); -} -proto.stopAnimation = function(){ - this._timer.stop(); -} - -proto.clearBar = function(){ - // set to a invisible position - this._position = -QxProgressanim.BAR_WIDTH; // -x% startPosition + x% width of bar = 0!!! - this._applyChanges(); - // next start of animation is from left to right - this._leftToRight = true; -} - - -/* ------------------------------------------------------------------------------------- - INTERNAL STUFF ------------------------------------------------------------------------------------- -*/ -proto._applyChanges = function(){ - // set position and size of the bar to show the progress - // if the position is outside, set the position to 0 and the width to the "difference" - if (this._position < 0) // left outside? - { - // set position - this._bar.setLeft(0); - this._bar.setWidth((QxProgressanim.BAR_WIDTH - Math.abs(this._position)) + '%'); - QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly - // ready - return true; - } - if (this._position + QxProgressanim.BAR_WIDTH > 100) // right outside? - { - // set position - this._bar.setLeft(this._position + '%'); - this._bar.setWidth((100 - this._position) + '%'); - QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly - // ready - return true; - } - - // "normal" case (inside) - // set position - this._bar.setLeft(this._position + '%'); - this._bar.setWidth(QxProgressanim.BAR_WIDTH + '%'); - QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly - // ready - return true; -} - -/* ------------------------------------------------------------------------------------- - INTERVAL HANDLING ------------------------------------------------------------------------------------- -*/ -proto._oninterval = function(e) -{ - // handle the direction - if (this._leftToRight) - { - this._position += 2; // new position - if (this._position >= 100) this._leftToRight = false; // change the direction ? - } - else - { - this._position -= 2; // new position - if (this._position + QxProgressanim.BAR_WIDTH <= 0) this._leftToRight = true; // change the direction ? - } - - // Show the changes - this._applyChanges(); -}; - - -/* ------------------------------------------------------------------------------------- - DISPOSER ------------------------------------------------------------------------------------- -*/ - -proto.dispose = function() -{ - if (this.getDisposed()) { - return; - }; - - if (this._bar) - { - this._bar.dispose(); - this._bar = null; - }; - - return QxCanvasLayout.prototype.dispose.call(this); +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ //???Olli??? + + 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: //???Olli??? + * Oliver Vogel + <o dot vogel at muv dot com> + +**************************************************************************** */ + +/* **************************************************************************** + +#package(form) //???Olli??? +#require(QxBorderObject) +#require(QxTerminator) +#require(QxTimer) + +**************************************************************************** */ + +// the width of the bar itself (in %) +QxProgressanim.BAR_WIDTH = 50; + + +function QxProgressanim() +{ + QxCanvasLayout.call(this); + + this.setWidth(250); + this.setHeight(22); + this.setBorder(QxBorderObject.presets.inset); + this.setTabIndex(-1); + + // *********************************************************************** + // Progress-Bar itself + // *********************************************************************** + this._bar = new QxTerminator(); + this._bar.set({ left: 0, bottom: 0, top: 0, border : QxBorder.presets.none }); + this._bar.setBackgroundColor("green"); + this.add(this._bar); + + // *********************************************************************** + // TIMER FOR ANIMATION + // *********************************************************************** + this._timer = new QxTimer(100); + this._timer.addEventListener(QxConst.EVENT_TYPE_INTERVAL, this._oninterval, this); + + // *********************************************************************** + // INITIALIZATION + // *********************************************************************** + this._position = 0; + this._leftToRight = true; + + // Hide the Bar + this.clearBar() + +}; + +QxProgressanim.extend(QxCanvasLayout, "QxProgressanim"); + + +/* +------------------------------------------------------------------------------------ + PREFERRED DIMENSIONS +------------------------------------------------------------------------------------ +*/ + +proto._computePreferredInnerWidth = function() { //???Olli??? + return 200; +}; + +proto._computePreferredInnerHeight = function() { //???Olli??? + return 20; +}; + + +/* +------------------------------------------------------------------------------------ + THE ACTION +------------------------------------------------------------------------------------ +*/ +proto.startAnimation = function(){ + this._timer.start(); +} +proto.stopAnimation = function(){ + this._timer.stop(); +} + +proto.clearBar = function(){ + // set to a invisible position + this._position = -QxProgressanim.BAR_WIDTH; // -x% startPosition + x% width of bar = 0!!! + this._applyChanges(); + // next start of animation is from left to right + this._leftToRight = true; +} + + +/* +------------------------------------------------------------------------------------ + INTERNAL STUFF +------------------------------------------------------------------------------------ +*/ +proto._applyChanges = function(){ + // set position and size of the bar to show the progress + // if the position is outside, set the position to 0 and the width to the "difference" + if (this._position < 0) // left outside? + { + // set position + this._bar.setLeft(0); + this._bar.setWidth((QxProgressanim.BAR_WIDTH - Math.abs(this._position)) + '%'); + QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly + // ready + return true; + } + if (this._position + QxProgressanim.BAR_WIDTH > 100) // right outside? + { + // set position + this._bar.setLeft(this._position + '%'); + this._bar.setWidth((100 - this._position) + '%'); + QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly + // ready + return true; + } + + // "normal" case (inside) + // set position + this._bar.setLeft(this._position + '%'); + this._bar.setWidth(QxProgressanim.BAR_WIDTH + '%'); + QxWidget.flushGlobalQueues(); //???Olli??? is there any other possibility to show the changes imideatelly + // ready + return true; +} + +/* +------------------------------------------------------------------------------------ + INTERVAL HANDLING +------------------------------------------------------------------------------------ +*/ +proto._oninterval = function(e) +{ + // handle the direction + if (this._leftToRight) + { + this._position += 2; // new position + if (this._position >= 100) this._leftToRight = false; // change the direction ? + } + else + { + this._position -= 2; // new position + if (this._position + QxProgressanim.BAR_WIDTH <= 0) this._leftToRight = true; // change the direction ? + } + + // Show the changes + this._applyChanges(); +}; + + +/* +------------------------------------------------------------------------------------ + DISPOSER +------------------------------------------------------------------------------------ +*/ + +proto.dispose = function() +{ + if (this.getDisposed()) { + return; + }; + + if (this._bar) + { + this._bar.dispose(); + this._bar = null; + }; + + return QxCanvasLayout.prototype.dispose.call(this); }; \ No newline at end of file Index: Progressbar_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_vogel/Attic/Progressbar_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 --- Progressbar_1.html 24 Jan 2006 14:12:46 -0000 1.1.2.1 +++ Progressbar_1.html 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,98 +1,98 @@ -<?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> - <script type="text/javascript" src="QxProgressanim.js"></script> -</head> -<body> - <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> - - <div id="testDescription"> - <p>Simple test of the QxProgressbar</p> - </div> - - <script type="text/javascript"> - window.application.main = function() - { - var d = this.getClientWindow().getClientDocument(); - var p1 = new QxProgressbar(200); - - with(p1) - { - setLeft(20); - setTop(64); - }; - - d.add(p1); - - var btn1 = new QxButton("Next Step"); - with(btn1) - { - setTop(100); - setLeft(20); - addEventListener("execute", function(e) { p1.stepIt(); }); - } - d.add(btn1); - - var btn2 = new QxButton("Clear"); - with(btn2) - { - setTop(100); - setLeft(120); - addEventListener("execute", function(e) { p1.setPosition(0); }); - } - d.add(btn2); - - var btn3 = new QxButton("Max=10"); - with(btn3) - { - setTop(130); - setLeft(20); - addEventListener("execute", function(e) { p1.setMax(10); }); - } - d.add(btn3); - - var btn4 = new QxButton("Max=100"); - with(btn4) - { - setTop(130); - setLeft(120); - addEventListener("execute", function(e) { p1.setMax(100); }); - } - d.add(btn4); - - var btn5 = new QxButton("Show Percent"); - with(btn5) - { - setTop(160); - setLeft(20); - addEventListener("execute", function(e) { p1.setShowPercent(true); }); - } - d.add(btn5); - - var btn6 = new QxButton("Hide Percent"); - with(btn6) - { - setTop(160); - setLeft(120); - addEventListener("execute", function(e) { p1.setShowPercent(false); }); - } - d.add(btn6); - }; - </script> - -</body> +<?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> + <script type="text/javascript" src="QxProgressanim.js"></script> +</head> +<body> + <script type="text/javascript" src="../../../tools/script/demolayout.js"></script> + + <div id="testDescription"> + <p>Simple test of the QxProgressbar</p> + </div> + + <script type="text/javascript"> + window.application.main = function() + { + var d = this.getClientWindow().getClientDocument(); + var p1 = new QxProgressbar(200); + + with(p1) + { + setLeft(20); + setTop(64); + }; + + d.add(p1); + + var btn1 = new QxButton("Next Step"); + with(btn1) + { + setTop(100); + setLeft(20); + addEventListener("execute", function(e) { p1.stepIt(); }); + } + d.add(btn1); + + var btn2 = new QxButton("Clear"); + with(btn2) + { + setTop(100); + setLeft(120); + addEventListener("execute", function(e) { p1.setPosition(0); }); + } + d.add(btn2); + + var btn3 = new QxButton("Max=10"); + with(btn3) + { + setTop(130); + setLeft(20); + addEventListener("execute", function(e) { p1.setMax(10); }); + } + d.add(btn3); + + var btn4 = new QxButton("Max=100"); + with(btn4) + { + setTop(130); + setLeft(120); + addEventListener("execute", function(e) { p1.setMax(100); }); + } + d.add(btn4); + + var btn5 = new QxButton("Show Percent"); + with(btn5) + { + setTop(160); + setLeft(20); + addEventListener("execute", function(e) { p1.setShowPercent(true); }); + } + d.add(btn5); + + var btn6 = new QxButton("Hide Percent"); + with(btn6) + { + setTop(160); + setLeft(120); + addEventListener("execute", function(e) { p1.setShowPercent(false); }); + } + d.add(btn6); + }; + </script> + +</body> </html> \ No newline at end of file |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 09:58:10
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/buttonpane_olsson Modified Files: Tag: renderer OptionPane_1.html OptionPane_2.html QxButtonPane.js QxOptionPane.js Log Message: dos2unix Index: QxOptionPane.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson/Attic/QxOptionPane.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxOptionPane.js 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ QxOptionPane.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,139 +1,139 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); -}; +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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); +}; Index: QxButtonPane.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson/Attic/QxButtonPane.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxButtonPane.js 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ QxButtonPane.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,110 +1,110 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); -}; +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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); +}; Index: OptionPane_2.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson/Attic/OptionPane_2.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 --- OptionPane_2.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ OptionPane_2.html 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,43 +1,43 @@ -<?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> +<?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> Index: OptionPane_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/buttonpane_olsson/Attic/OptionPane_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 --- OptionPane_1.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ OptionPane_1.html 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,41 +1,41 @@ -<?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> +<?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-02-03 09:58:09
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/progressbar_olsson Modified Files: Tag: renderer ProgressBar_1.html QxProgressBar.js Log Message: dos2unix Index: QxProgressBar.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsson/Attic/QxProgressBar.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxProgressBar.js 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ QxProgressBar.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,295 +1,295 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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); }; \ No newline at end of file Index: ProgressBar_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/progressbar_olsson/Attic/ProgressBar_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 --- ProgressBar_1.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ ProgressBar_1.html 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,77 +1,77 @@ -<?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> +<?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-02-03 09:58:09
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/statusbar_olsson Modified Files: Tag: renderer Frame_1.html QxFrame.js QxStatusBar.js QxStatusBarPane.js QxUtil.js QxWindow.js StatusBar_1.html StatusBar_2.html Log Message: dos2unix Index: QxUtil.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson/Attic/QxUtil.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxUtil.js 24 Jan 2006 14:18:51 -0000 1.1.2.1 +++ QxUtil.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,333 +1,333 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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)); +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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)); }; \ No newline at end of file Index: StatusBar_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson/Attic/StatusBar_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 --- StatusBar_1.html 24 Jan 2006 14:18:51 -0000 1.1.2.1 +++ StatusBar_1.html 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,82 +1,82 @@ -<?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> +<?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> Index: QxStatusBarPane.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson/Attic/QxStatusBarPane.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxStatusBarPane.js 24 Jan 2006 14:18:51 -0000 1.1.2.1 +++ QxStatusBarPane.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,80 +1,80 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - 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); +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id$ + + 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); }; \ No newline at end of file Index: QxWindow.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson/Attic/QxWindow.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxWindow.js 24 Jan 2006 14:18:51 -0000 1.1.2.1 +++ QxWindow.js 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,1434 +1,1434 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id$ - - Copyright: - (C) 2004-2005 by Schlund + Partner AG, Germany - All rights reserved - [...2837 lines suppressed...] + { + 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); }; \ No newline at end of file Index: Frame_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/statusbar_olsson/Attic/Frame_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 --- Frame_1.html 24 Jan 2006 14:18:51 -0000 1.1.2.1 +++ Frame_1.html 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,117 +1,117 @@ -<!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> +<!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"></scrip... [truncated message content] |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 09:58:09
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/splashscreen_olsson Modified Files: Tag: renderer QxSplashScreen.js SplashScreen_1.html SplashScreen_2.html Log Message: dos2unix Index: SplashScreen_2.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsson/Attic/SplashScreen_2.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 --- SplashScreen_2.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ SplashScreen_2.html 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,46 +1,46 @@ -<!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> +<!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> \ No newline at end of file Index: SplashScreen_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/splashscreen_olsson/Attic/SplashScreen_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 --- SplashScreen_1.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ SplashScreen_1.html 3 Feb 2006 09:58:01 -0000 1.1.2.2 @@ -1,43 +1,43 @@ -<!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="SplashScr... [truncated message content] |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 09:58:08
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/childreniterator_streifert In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/childreniterator_streifert Modified Files: Tag: renderer QxChildrenIterator.js Log Message: dos2unix Index: QxChildrenIterator.js =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/childreniterator_streifert/Attic/QxChildrenIterator.js,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- QxChildrenIterator.js 31 Jan 2006 12:57:14 -0000 1.1.2.1 +++ QxChildrenIterator.js 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,137 +1,137 @@ -/* **************************************************************************** - - qooxdoo - the new era of web interface development - - Version: - $Id: QxChildrenIterator.js - - Authors: - * Dietrich Sreifert (ds) - <dietrich dot streifert at visionet dot de> - -**************************************************************************** */ - -/* ************************************************************************ - -#package(guicore) -#require(QxObject) -#require(QxParent) - -************************************************************************ */ - -function QxChildrenIterator(vParent) -{ - QxObject.call(this); - - this._parent = vParent; - this._curParent = vParent; - this._curChild = null; - this._curLvl = 0; - this._curPos = []; - this._curPos[this._curLvl] = 0; -}; - - -QxChildrenIterator.extend(QxObject, "QxChildrenIterator"); - - -/* ------------------------------------------------------------------------------------- - Instance variables ------------------------------------------------------------------------------------- -*/ - -proto._parent = null; -proto._curParent = null; -proto._curChild = null; -proto._curLvl = 0; -proto._curPos = null ; - - -proto.getParent = function() { - return this._parent; -}; - - -proto.getCurParent = function() { - return this._curParent; -}; - - -proto.getCurPos = function() { - return this._curLvl[this._curPos]; -}; - - -proto.getCurLvl = function() { - return this._curLvl; -}; - - - -/* ------------------------------------------------------------------------------------- - getNext: Iterate through the children tree. ------------------------------------------------------------------------------------- -*/ - -proto.getNext = function() { - - /* if curChild is equal to the starting parent we have finished - */ - if ( this._curChild == this._parent ) { - return null; - } - - var qxChildren = this._curParent.getChildren(); - var childrenLength = qxChildren == null ? 0 : qxChildren.length; - - /* the last child was already returned. - * now we have to go one level up and return the parent - */ - if ( this._curPos[this._curLvl] >= childrenLength ) { - this._curPos[this._curLvl] = 0; - this._curLvl -= 1; - this._curChild = this._curParent; - this._curParent = this._curParent.getParent(); - this._curPos[this._curLvl] += 1; - return this._curChild; - } - - /* we have not finished the current child - */ - this._curChild = qxChildren[this._curPos[this._curLvl]]; - - /* now test if the current child has children itself - */ - var qxChildren = this._curChild.getChildren(); - if ( qxChildren != null ) { - this._curLvl += 1; - this._curPos[this._curLvl] = 0; - this._curParent = this._curChild; - this._curChild = null; - return this.getNext() - } - /* if there are no children return the current child and increment - * the position on this level - */ - else { - this._curPos[this._curLvl] += 1; - return this._curChild; - } -}; - - - -/* ------------------------------------------------------------------------------------- - DISPOSER ------------------------------------------------------------------------------------- -*/ -proto.dispose = function() { - this._parent = null; - this._curParent = null; - this._curChild = null; - this._curPos = null; -}; - +/* **************************************************************************** + + qooxdoo - the new era of web interface development + + Version: + $Id: QxChildrenIterator.js + + Authors: + * Dietrich Sreifert (ds) + <dietrich dot streifert at visionet dot de> + +**************************************************************************** */ + +/* ************************************************************************ + +#package(guicore) +#require(QxObject) +#require(QxParent) + +************************************************************************ */ + +function QxChildrenIterator(vParent) +{ + QxObject.call(this); + + this._parent = vParent; + this._curParent = vParent; + this._curChild = null; + this._curLvl = 0; + this._curPos = []; + this._curPos[this._curLvl] = 0; +}; + + +QxChildrenIterator.extend(QxObject, "QxChildrenIterator"); + + +/* +------------------------------------------------------------------------------------ + Instance variables +------------------------------------------------------------------------------------ +*/ + +proto._parent = null; +proto._curParent = null; +proto._curChild = null; +proto._curLvl = 0; +proto._curPos = null ; + + +proto.getParent = function() { + return this._parent; +}; + + +proto.getCurParent = function() { + return this._curParent; +}; + + +proto.getCurPos = function() { + return this._curLvl[this._curPos]; +}; + + +proto.getCurLvl = function() { + return this._curLvl; +}; + + + +/* +------------------------------------------------------------------------------------ + getNext: Iterate through the children tree. +------------------------------------------------------------------------------------ +*/ + +proto.getNext = function() { + + /* if curChild is equal to the starting parent we have finished + */ + if ( this._curChild == this._parent ) { + return null; + } + + var qxChildren = this._curParent.getChildren(); + var childrenLength = qxChildren == null ? 0 : qxChildren.length; + + /* the last child was already returned. + * now we have to go one level up and return the parent + */ + if ( this._curPos[this._curLvl] >= childrenLength ) { + this._curPos[this._curLvl] = 0; + this._curLvl -= 1; + this._curChild = this._curParent; + this._curParent = this._curParent.getParent(); + this._curPos[this._curLvl] += 1; + return this._curChild; + } + + /* we have not finished the current child + */ + this._curChild = qxChildren[this._curPos[this._curLvl]]; + + /* now test if the current child has children itself + */ + var qxChildren = this._curChild.getChildren(); + if ( qxChildren != null ) { + this._curLvl += 1; + this._curPos[this._curLvl] = 0; + this._curParent = this._curChild; + this._curChild = null; + return this.getNext() + } + /* if there are no children return the current child and increment + * the position on this level + */ + else { + this._curPos[this._curLvl] += 1; + return this._curChild; + } +}; + + + +/* +------------------------------------------------------------------------------------ + DISPOSER +------------------------------------------------------------------------------------ +*/ +proto.dispose = function() { + this._parent = null; + this._curParent = null; + this._curChild = null; + this._curPos = null; +}; + |
|
From: Sebastian W. <wp...@us...> - 2006-02-03 09:58:08
|
Update of /cvsroot/qooxdoo/qooxdoo/source/contributed/frame_olsson In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5189/frame_olsson Modified Files: Tag: renderer Frame_1.html QxFrame.js QxUtil.js QxWindow.js Log Message: dos2unix Index: Frame_1.html =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/source/contributed/frame_olsson/Attic/Frame_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 --- Frame_1.html 24 Jan 2006 14:18:50 -0000 1.1.2.1 +++ Frame_1.html 3 Feb 2006 09:58:00 -0000 1.1.2.2 @@ -1,117 +1,117 @@ -<!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> +<!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="... [truncated message content] |