context: qx.Proto._setupKnobsForOrientation = function(oldOrientation, newOrientation){  if (this._knob != null){                              this._knob.removeState(oldOrientation);    this._sliderKnob.removeState(oldOrientation);    this._knob.addState(newOrientation);    this._sliderKnob.addState(newOrientation);            if (oldOrientation == qx.constant.Layout.ORIENTATION_HORIZONTAL){          this._knob.removeEventListener(qx.constant.Event.MOUSEDOWN, this._onSplitterMouseDownY, this);      this._knob.removeEventListener(qx.constant.Event.MOUSEMOVE, this._onSplitterMouseMoveY, this);      this._knob.removeEventListener(qx.constant.Event.MOUSEUP, this._onSplitterMouseUpY, this);                } else {      this._knob.removeEventListener(qx.constant.Event.MOUSEDOWN, this._onSplitterMouseDownX, this);      this._knob.removeEventListener(qx.constant.Event.MOUSEMOVE, this._onSplitterMouseMoveX, this);      this._knob.removeEventListener(qx.constant.Event.MOUSEUP, this._onSplitterMouseUpX, this);          }        if (newOrientation != null) {      if (newOrientation == qx.constant.Layout.ORIENTATION_HORIZONTAL){        this._knob.setCursor("col-resize");        this._knob.addEventListener(qx.constant.Event.MOUSEMOVE, this._onSplitterMouseMoveX, this);        this._knob.addEventListener(qx.constant.Event.MOUSEDOWN, this._onSplitterMouseDownX, this);        this._knob.addEventListener(qx.constant.Event.MOUSEUP, this._onSplitterMouseUpX, this);      } else {        this._knob.setCursor("row-resize");        this._knob.addEventListener(qx.constant.Event.MOUSEMOVE, this._onSplitterMouseMoveY, this);        this._knob.addEventListener(qx.constant.Event.MOUSEDOWN, this._onSplitterMouseDownY, this);        this._knob.addEventListener(qx.constant.Event.MOUSEUP, this._onSplitterMouseUpY, this);      }    }  }}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/32797ee18a2c92a797417cb1392f24fa90943b97/SplitPane.js/clean/qooxdoo/frontend/framework/source/class/qx/ui/splitpane/SplitPane.js