- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
F5_函数执行顺序
function Algorithm(am){alert(function Algorithm(am));}BST.prototype.constructor = BST;BST.superclass = Atotype;functioninit(){alert(function init());varanimManag = initCanvas();currentAlg = new BST(animManag, canvas.width, canvas.height);}function BST(am, w, h){alert(function BST(am, w, h));this.init(am, w, h);}BST.prototype.init = function(am, w, h){alert(BST.prototype.init = function(am, w, h));varsc = BST.superclass;this.startingX= w / 2;this.first_print_pos_y = h - 2 * BST.PRINT_VERTICAL_GAP;this.print_max = w - 10;varfn = sc.init;fn.call(this,am);this.addControls();this.nextIndex = 0;mands = [];this.cmd(CreateLabel, 0, , 20, 10, 0);this.nextIndex = 1;this.animationManager.StartNewAnimation(mands);this.animationManager.skipForward();this.animationManager.clearHistory();}BST.prototype.addControls= function(){alert(BST.prototype.addControls = function());this.insertField = addControlToAlgorithmBar(Text, );this.insertField.onkeydown = this.returnSubmit(this.insertField, this.insertCallback.bind(this), 4);this.insertButton = addControlToAlgorithmBar(Button, Insert);this.insertButton.onclick = this.insertCallback.bind(this);this.deleteField = addControlToAlgorithmBar(Text, );this.deleteField.onkeydown = this.returnSubmit(this.deleteField, this.deleteCallback.bind(this), 4);this.deleteButton = addControlToAlgorithmBar(Button, Delete);this.deleteButton.onclick = this.deleteCallback.bind(this);this.findField = addControlToAlgorithmBar(Text, );this.findField.onkeydown = this.returnSubmit(this.findField, this.findCallback.bind(this), 4);this.findButton = addControlToAlgorithmBar(Button, Find);this.findButton.onclick = this.findCallback.bind(this);this.printButton = addControlToAlgorithmBar(Button, Print);this.printButton.onclick = this.printCallback.bind(this);}functionaddControlToAlgorithmBar(type, name) {alert(function addControlToAlgorithmBar(type, name));var element = document.createElement(input);element.setAttribute(type, type);element.setAttribute(value, na
您可能关注的文档
最近下载
- 登革热诊疗方案(2024年版).pdf VIP
- 人教版PEP小学英语六年级上册第一单元测试卷.pdf VIP
- 《装配式装修标准化模块化设计 》课件——模块七:装配式装修卫浴部品体系设计.ppt VIP
- 《全装饰住宅部品集成技术》课件——模块六:集成厨房部品体系设计装配式装修.pptx VIP
- 破晓剧本(红色剧目).docx VIP
- 《装配式装修标准化模块化设计 》课件——模块六:集成厨房部品体系设计装配式装修.ppt VIP
- 国际投资(第六版)课件 SolMcL_6e_ch10.ppt VIP
- 《装配式建筑装饰装修》习题-04收纳系统设计.docx VIP
- 装配式建筑装饰装修-标准化.pptx VIP
- 常用电子管参数及脚位5.doc VIP
文档评论(0)