rem:  if (isValidString(vCaption)) { this.setCaption(vCaption); };  
context: function QxWindow(vCaption, vIcon){  QxPopup.call(this);    this.setBorder(QxBorder.presets.outset);  this.setPadding(2);    // ***********************************************************************  //   CAPTIONBAR  // ***********************************************************************      this._captionbar = new QxWidget;  this._captionbar.set({ cssClassName : "QxWindowCaptionBar", top : 0, left: 0, right : 0, height: 18 });  this.add(this._captionbar);        // ***********************************************************************  //   CAPTION TEXT  // ***********************************************************************        this._caption = new QxContainer(this.getCaption());  this._caption.set({ left : 20, top : 2 });  this._captionbar.add(this._caption);        // ***********************************************************************  //   ICON  // ***********************************************************************        this._icon = new QxImage(this.getIcon());  this._icon.set({ left : 2, top : 1 });  this._captionbar.add(this._icon);          // ***********************************************************************  //   BUTTONS  // ***********************************************************************        this._closeButton = new QxWidget;  this._closeButton.set({ right: 1, top: 2, height: 14, width: 16, paddingLeft: 1, border: QxBorder.presets.outset, backgroundColor: "Threedface" });  this._closeImage = new QxImage("widgets/window/close.gif");  this._closeButton.add(this._closeImage);  this._captionbar.add(this._closeButton);  this._restoreButton = new QxWidget;  this._restoreButton.set({ right: 18, top: 2, height: 14, width: 16, paddingLeft: 1, border: QxBorder.presets.outset, backgroundColor: "Threedface" });  this._restoreImage = new QxImage("widgets/window/restore.gif");  this._restoreButton.add(this._restoreImage);  this._captionbar.add(this._restoreButton);  this._minimizeButton = new QxWidget;  this._minimizeButton.set({ right: 34, top: 2, height: 14, width: 16, paddingLeft: 1, border: QxBorder.presets.outset, backgroundColor: "Threedface" });  this._minimizeImage = new QxImage("widgets/window/minimize.gif");  this._minimizeButton.add(this._minimizeImage);  this._captionbar.add(this._minimizeButton);        // ***********************************************************************  //   PANE  // ***********************************************************************        this._pane = new QxWidget;  this._pane.set({ cssClassName : "QxWindowPane", top : 18, bottom: 18, left: 0, right: 0, paddingTop: 4, paddingBottom: 4 });  this.add(this._pane);          // ***********************************************************************  //   STATUSBAR  // ***********************************************************************        this._statusbar = new QxWidget;  this._statusbar.set({ bottom: 0, left: 0, right: 0, height: 18 });  this._statusbar.setBorder(QxBorder.presets.thinInset);  this.add(this._statusbar);                  // ***********************************************************************  //   EVENTS  // ***********************************************************************        this.addEventListener("mousedown", this._onwindowmousedown, this);    this._captionbar.addEventListener("mousedown", this._ontitlemousedown, this);  this._captionbar.addEventListener("mouseup", this._ontitlemouseup, this);  this._captionbar.addEventListener("mousemove", this._ontitlemousemove, this);    this._icon.addEventListener("mousedown", this._oniconmousedown, this);    this._closeButton.addEventListener("click", this._onclosebuttonmousedown, this);    // ***********************************************************************  //   ARGUMENTS  // ***********************************************************************        if (isValidString(vCaption)) {    this.setCaption(vCaption);  };    if (isValidString(vIcon)) {    this.setIcon(vIcon);  };  };
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/8de59892375070cf92a7714e804ffa08bf617962/QxWindow.js/buggy/qooxdoo/source/script/widgets/QxWindow.js