Lines Matching refs:that

348     var that = this
352 return that.handleMouseDown(evt);
355 return that.handleMouseDown(evt);
360 return that.handleMouseUp(evt);
363 return that.handleMouseUp(evt);
368 return that.handleMouseMove(evt);
371 return that.handleMouseMove(evt);
376 return that.handleMouseUp(evt);
379 return that.handleMouseUp(evt);
382 return that.handleMouseUp(evt);
387 return that.handleMouseWheel(evt);
747 var that = this
753 enablePan: function() {that.options.panEnabled = true}
754 , disablePan: function() {that.options.panEnabled = false}
755 , isPanEnabled: function() {return !!that.options.panEnabled}
756 , pan: function(point) {that.pan(point)}
757 , panBy: function(point) {that.panBy(point)}
758 , getPan: function() {return that.getPan()}
760 , setBeforePan: function(fn) {that.options.beforePan = Utils.proxy(fn, that.publicInstance)}
761 , setOnPan: function(fn) {that.options.onPan = Utils.proxy(fn, that.publicInstance)}
763 , enableDrag: function() {that.options.dragEnabled = true}
764 , disableDrag: function() {that.options.dragEnabled = false}
765 , isDragEnabled: function() {return !!that.options.dragEnabled}
768 if (that.options.controlIconsEnabled && !that.options.zoomEnabled) {
769 ControlIcons.enable(that)
771 that.options.zoomEnabled = true;
774 if (that.options.controlIconsEnabled && that.options.zoomEnabled) {
775 ControlIcons.disable(that)
777 that.options.zoomEnabled = false;
779 , isZoomEnabled: function() {return !!that.options.zoomEnabled}
781 if (that.options.zoomEnabled && !that.options.controlIconsEnabled) {
782 that.options.controlIconsEnabled = true
783 ControlIcons.enable(that)
787 if (that.options.controlIconsEnabled) {
788 that.options.controlIconsEnabled = false;
789 ControlIcons.disable(that)
792 , isControlIconsEnabled: function() {return !!that.options.controlIconsEnabled}
794 , setZoomScaleSensitivity: function(scale) {that.options.zoomScaleSensitivity = scale}
795 , setMinZoom: function(zoom) {that.options.minZoom = zoom}
796 , setMaxZoom: function(zoom) {that.options.maxZoom = zoom}
798 , setBeforeZoom: function(fn) {that.options.beforeZoom = Utils.proxy(fn, that.publicInstance)}
799 , setOnZoom: function(fn) {that.options.onZoom = Utils.proxy(fn, that.publicInstance)}
802 that.zoomAtPoint(that.svg, SvgUtils.getSvgCenterPoint(that.svg), scale, true)
805 that.zoomAtPoint(that.svg, SvgUtils.getSvgCenterPoint(that.svg), scale, false)
808 that.publicZoomAtPoint(scale, point, true)
811 that.publicZoomAtPoint(scale, point, false)
814 this.zoomBy(1 + that.options.zoomScaleSensitivity)
817 this.zoomBy(1 / (1 + that.options.zoomScaleSensitivity))
819 , resetZoom: function() {that.resetZoom()}
820 , getZoom: function() {return that.getZoom()}
821 , fit: function(dropCache) {return that.fit(dropCache)}
822 , center: function(dropCache) {return that.center(dropCache)}