rem:   e.stopPropagation(); e.preventDefault(); 
context: qx.Proto._onwindowmousemove = function(e){  if (!this.getResizeable() || this.getMode() != null) {    return;  }  var s = this._resizeSession;  if (s)  {    if (this._resizeWest)    {      s.lastWidth = qx.lang.Number.limit(s.boxWidth + s.boxLeft - Math.max(e.getPageX(), s.parentAreaOffsetLeft), s.minWidth, s.maxWidth);      s.lastLeft = s.boxRight - s.lastWidth - s.parentAreaOffsetLeft;    }    else if (this._resizeEast)    {      s.lastWidth = qx.lang.Number.limit(Math.min(e.getPageX(), s.parentAreaOffsetRight) - s.boxLeft, s.minWidth, s.maxWidth);    }    if (this._resizeNorth)    {      s.lastHeight = qx.lang.Number.limit(s.boxHeight + s.boxTop - Math.max(e.getPageY(), s.parentAreaOffsetTop), s.minHeight, s.maxHeight);      s.lastTop = s.boxBottom - s.lastHeight - s.parentAreaOffsetTop;    }    else if (this._resizeSouth)    {      s.lastHeight = qx.lang.Number.limit(Math.min(e.getPageY(), s.parentAreaOffsetBottom) - s.boxTop, s.minHeight, s.maxHeight);    }    switch(this.getResizeMethod())    {      case qx.ui.window.Window.MODE_OPAQUE:      case qx.ui.window.Window.MODE_TRANSLUCENT:        if (this._resizeWest || this._resizeEast)        {          this.setWidth(s.lastWidth);          if (this._resizeWest) {            this.setLeft(s.lastLeft);          }        }        if (this._resizeNorth || this._resizeSouth)        {          this.setHeight(s.lastHeight);          if (this._resizeNorth) {            this.setTop(s.lastTop);          }        }        break;      default:        var o = this.getResizeMethod() == qx.ui.window.Window.MODE_FRAME ? this._frame : this;        if (this._resizeWest || this._resizeEast)        {          o._applyRuntimeWidth(s.lastWidth);          if (this._resizeWest) {            o._applyRuntimeLeft(s.lastLeft);          }        }        if (this._resizeNorth || this._resizeSouth)        {          o._applyRuntimeHeight(s.lastHeight);          if (this._resizeNorth) {            o._applyRuntimeTop(s.lastTop);          }        }    }    // stop event    e.stopPropagation();    e.preventDefault();  }  else  {    var resizeMode = qx.constant.Core.EMPTY;    var el = this.getElement();    this._resizeNorth = this._resizeSouth = this._resizeWest = this._resizeEast = false;    if (this._near(qx.dom.DomLocation.getPageBoxTop(el), e.getPageY()))    {      resizeMode = "n";      this._resizeNorth = true;    }    else if (this._near(qx.dom.DomLocation.getPageBoxBottom(el), e.getPageY()))    {      resizeMode = "s";      this._resizeSouth = true;    }    if (this._near(qx.dom.DomLocation.getPageBoxLeft(el), e.getPageX()))    {      resizeMode += "w";      this._resizeWest = true;    }    else if (this._near(qx.dom.DomLocation.getPageBoxRight(el), e.getPageX()))    {      resizeMode += "e";      this._resizeEast = true;    }    if (this._resizeNorth || this._resizeSouth || this._resizeWest || this._resizeEast)    {      this.setCursor(resizeMode + "-resize");    }    else    {      this.setCursor(null);    }  }}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/58f46332f1f6efe3139b1fb117a21dd47baef438/Window.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/window/Window.js