a:8:{s:9:"#provides";s:10:"dojo.robot";s:9:"#resource";s:8:"robot.js";s:9:"#requires";a:1:{i:0;a:3:{i:0;s:6:"common";i:1;s:9:"doh.robot";i:2;s:3:"doh";}}s:25:"doh.robot._scrollIntoView";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:1:{s:4:"type";s:25:"String||DOMNode||Function";}}s:6:"source";s:150:" if(typeof node == "function"){ // if the user passed a function returning a node, evaluate it node = node(); } node.scrollIntoView(false);";s:7:"summary";s:80:"Scroll the passed node into view, if it is not. Stub to be replaced dijit.robot.";s:7:"private";b:1;}s:24:"doh.robot.scrollIntoView";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"node";a:2:{s:4:"type";s:25:"String||DOMNode||Function";s:7:"summary";s:255:"The id of the node, or the node itself, to move the mouse to. If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes. This is useful if you need to move the mouse to an node that is not yet present.";}s:5:"delay";a:2:{s:4:"type";s:16:"Number, optional";s:7:"summary";s:113:"Delay, in milliseconds, to wait before firing. The delay is a delta with respect to the previous automation call.";}}s:6:"source";s:81:" doh.robot.sequence(function(){ doh.robot._scrollIntoView(node); }, delay);";s:7:"summary";s:47:"Scroll the passed node into view, if it is not.";}s:21:"doh.robot.mouseMoveAt";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:5:{s:4:"node";a:2:{s:4:"type";s:25:"String||DOMNode||Function";s:7:"summary";s:255:"The id of the node, or the node itself, to move the mouse to. If you pass an id or a function that returns a node, the node will not be evaluated until the movement executes. This is useful if you need to move the mouse to an node that is not yet present.";}s:5:"delay";a:2:{s:4:"type";s:17:"Integer, optional";s:7:"summary";s:300:"Delay, in milliseconds, to wait before firing. The delay is a delta with respect to the previous automation call. For example, the following code ends after 600ms: doh.mouseClick({left:true}, 100) // first call; wait 100ms doh.typeKeys("dij", 500) // 500ms AFTER previous call; 600ms in all";}s:8:"duration";a:2:{s:4:"type";s:17:"Integer, optional";s:7:"summary";s:72:"Approximate time Robot will spend moving the mouse The default is 100ms.";}s:7:"offsetX";a:2:{s:4:"type";s:16:"Number, optional";s:7:"summary";s:98:"x offset relative to the node, in pixels, to move the mouse. The default is half the node's width.";}s:7:"offsetY";a:2:{s:4:"type";s:16:"Number, optional";s:7:"summary";s:99:"y offset relative to the node, in pixels, to move the mouse. The default is half the node's height.";}}s:6:"source";s:593:" doh.robot._assertRobot(); duration = duration||100; this.sequence(function(){ if(typeof node == "function"){ // if the user passed a function returning a node, evaluate it node = node(); } if(!node) return; node=dojo.byId(node); if(offsetY === undefined){ var box=dojo.contentBox(node); offsetX=box.w/2; offsetY=box.h/2; } var x = offsetX; var y = offsetY; doh.robot._scrollIntoView(node); // coords relative to viewport be default var c = dojo.coords(node); x += c.x; y += c.y; doh.robot._mouseMove(x, y, false, duration); },delay,duration);";s:7:"summary";s:77:"Moves the mouse over the specified node at the specified relative x,y offset.";s:11:"description";s:398:"Moves the mouse over the specified node at the specified relative x,y offset. You should manually scroll off-screen nodes into view; use dijit.robot for automatic scrolling support. If you do not specify an offset, mouseMove will default to move to the middle of the node. Example: to move the mouse over a ComboBox's down arrow node, call doh.mouseMoveAt(dijit.byId('setvaluetest').downArrowNode);";}s:10:"dojo.robot";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}