... Scroll Windows)__________________________________________________________310 改变显示参数(Change Display Parameters) ______________311 显示输出选项(Display Output Options) _________________ 313 图象文件(Image File) _________________...
基于16个网页-相关网页
为了让Notes widget具有交互能力,应选择允许传递参数改变显示内容的网页。
To make the Notes widgets interactive, select Web pages that allow you to pass parameters to change the content shown.
convert以包含有输入字符串的变量以及对Label窗口小部件的引用作为参数,以改变Label所显示的值。
The convert function takes the variable containing the input string, as well as a reference to the Label widget as parameters, so that it can change the value shown by the Label.
清单8显示了完整的代码(稍微改变了一下格式以适合显示宽度),包括以类文件的名字为参数的main方法和要转换的方法。
Listing 8 shows the complete code (slightly reformatted to fit the width), including a main method that takes the name of the class file and method to be transformed.
应用推荐