summaryrefslogtreecommitdiff
path: root/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorFrame.js
diff options
context:
space:
mode:
Diffstat (limited to 'swat2/style/qooxdoo/widgets/widgets/QxBarSelectorFrame.js')
-rw-r--r--swat2/style/qooxdoo/widgets/widgets/QxBarSelectorFrame.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorFrame.js b/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorFrame.js
new file mode 100644
index 00000000000..c78277a34c1
--- /dev/null
+++ b/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorFrame.js
@@ -0,0 +1,2 @@
+/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */
+function QxBarSelectorFrame(){QxWidget.call(this);this._bar=new QxBarSelectorBar;this._pane=new QxBarSelectorPane;this.setPlaceBarOn("top");this.add(this._bar,this._pane);this._bar.addEventListener("resize",this._pane._applyState,this._pane);};QxBarSelectorFrame.extend(QxWidget,"QxBarSelectorFrame");QxBarSelectorFrame.addProperty({name:"placeBarOn",type:String});QxBarSelectorFrame.paneMap={top:"bottom",right:"left",bottom:"top",left:"right"};proto._modifyPlaceBarOn=function(_b1,_b2,_b3,_b4){this._bar.setState(_b1,_b4);this._pane.setState(QxBarSelectorFrame.paneMap[_b1],_b4);return true;};proto.getPane=function(){return this._pane;};proto.getBar=function(){return this._bar;};proto.dispose=function(){if(this.getDisposed()){return true;};if(this._bar){this._bar.dispose();this._bar=null;};if(this._pane){this._pane.dispose();this._pane=null;};return QxWidget.prototype.dispose.call(this);}; \ No newline at end of file