也许会发现即使文本文件是有状态的,也有一种简单的方法可以分块读取它(其中每一块是一种类型的输入值)。
It might turn out that even though your text file is stateful, there is an easy way to read it in chunks (where each chunk is a single type of input value).
进行手工设置的方法是在文本框中输入一个跟踪字符串,或者单击列表中的一个组件并从弹出框中选择一个日志级别,见图15。
You can do this manually by entering a trace string in the text box or by clicking a component in the list and selecting a log level from the pop-up box. See figure 15.
一旦你发现一种新的输入文本方法,你会如何利用它?
Once you've found a new way to input text - what are you going to do with it?
在纯文本之后,一个组织数据的通用方法就是将你所有的数据输入到一个整合好的软件 -- 一个电子邮件客户端,或者一个框架,再或者其它什么。
The next frequent way of organizing after plain text, is to stuff everything into one monolithic application - an e-mail client, or an outliner, or whatever.
下面的方法在对雇员数据的创建、更新和删除操作之间打印文本到命令行,并等待用户输入。
The following method prints text to the command line and waits for user input between the creation, update, and deletion of the employee's data.
encodeMessages和encodeInput方法做的就是这件事,即输出出错消息并为Field组件生成HTML输入的文本字段。
The encodeMessages and encodeInput methods do what you would expect; namely output error messages and generate the HTML input text field for the Field component.
如果输入文本与正则表达式匹配,则该方法返回true。
If the input text matches the regular expression, what this method returns is true.
基本上,我们使用较早所讨论的ContactDatabase的items方法来获取ContactCard,该ContactCard拥有与用户输入的文本匹配的lastName字段。
Basically, we use the items method of the ContactDatabase as discussed earlier to get the ContactCard with a lastName field that matches the text entered by the user. The logic starts on line 175.
因为这将允许用户输入大量的文本;然后,当用户按下最后一个键时,第二种方法将运行搜索。
Because that allows for the user to type a lot of text; then, a second after the user presses the last key, the search will run.
本文的样例程序(参见下载)——NumberInput,如图1所示,是一个Swing应用程序,该程序考察几种将文本型输入转换为数值的方法。
This article's example program (see Download) — NumberInput, shown in Figure 1 — is a Swing application that lets you explore several methods for converting textual input to a numerical value.
例如,编辑中的文本输入框可能想实现这个方法返回NO来保持自己的编辑状态(不过,这种情况目前还没有遇到过。)。
As an example, a text field in the middle of editing might want to implement this method to return NO to keep itself active during editing.
从素材收集、文本输入等方面介绍了微生物学课件的制作方法,并指出了在使用课件时的一些注意事项,从而提高学生的学习兴趣,收到良好的教学效果。
We describe the making method in material collection, text input etc, and point out the notice of applying it to make the course more attractive to students and improve the effect of teaching.
本文在利用正向最大匹配方法和逆向最大匹配方法来对输入文本进行预切分,并通过双向扫描的方法检测歧义字段。
We segmented input text. utilizing the methods of Maximum Matching and Reverse Maximum Matching, and found ambiguous word through two-way-scan method.
本文的处理手段是对输入的汽车图像进行预处理,运用车牌定位、字符分割、字符识别的方法提取车牌上的字符串,并以文本的形式输出。
Its measure is to deal with the inputted images, exploit license plate location character segmentation character recognition to extract the character strings, and express these strings in text form.
提供一组丰富的文本处理工具,支持富文本,输入方法等。
supply a rich set of text processing tools, supporting rich text, input methods, etc.
掌握文本输入法的顶层设计方法。
可以在多行文本框中使用此方法,以确保当前文本的输入点位于该控件的可见区域内。
You can use this method in a multiline text box to ensure that the current text entry point is within the visible region of the control.
可以在多行文本框中使用此方法,以确保当前文本的输入点位于该控件的可见区域内。
You can use this method in a multiline text box to ensure that the current text entry point is within the visible region of the control.
应用推荐