这种包含在automation事件中的信息可以反馈到automation API中并产生一个假的按钮点击,而Flex对其的响应就好像它是原生的UI事件一样。
This information contained in the automation event can be fed back into the automation API to generate a synthetic button click that Flex responds to exactly like the original UI event.
尝试之后,应该可以得到如图7所示的响应这里假您已将数据加载到MySQL数据库或已经更改了php脚本以返回虚拟数据。
Try this out; you should be able to get the response shown in Figure 7. (this assumes you loaded data into your MySQL database or changed your PHP script to return dummy data.)
和大多数语言一样,Scala的if测试一个条件表达式,然后根据结果为真或假来跳转到响应语句块中。
As in most every language, Scala's if evaluates a conditional expression, then proceeds to a block if the result is true or branches to an alternate block if the result is false. A simple example.
应用推荐