code: function(iLeft, iRight, iTickSize) {
          this.leftConstraint = parseInt(iLeft, 10);
          this.rightConstraint = parseInt(iRight, 10);
  
          this.minX = this.initPageX - this.leftConstraint;
          this.maxX = this.initPageX + this.rightConstraint;
          if (iTickSize) { this.setXTicks(this.initPageX, iTickSize); }
  
          this.constrainX = true;
          this.logger.log("initPageX:" + this.initPageX + " minX:" + this.minX + 
                  " maxX:" + this.maxX);
      }
docs: By default, the element can be dragged any place on the screen.  Use
  this method to limit the horizontal travel of the element.  Pass in
  0,0 for the parameters if you want to lock the drag to the y axis.
  @method setXConstraint
  @param {int} iLeft the number of pixels the element can move to the left
  @param {int} iRight the number of pixels the element can move to the
  right
  @param {int} iTickSize optional parameter for specifying that the
  element
  should move iTickSize pixels at a time.