|
关注:1
2013-05-23 12:21
求翻译:A typical pattern in GUI programming is to perform an action in response to a certain event such as clicking or hovering over text. For example, if the user clicks the Send button, you may wish to display a popup or perhaps log the action in a file. Again, you need a way to cope with changes; you should be able to perf是什么意思?![]() ![]() A typical pattern in GUI programming is to perform an action in response to a certain event such as clicking or hovering over text. For example, if the user clicks the Send button, you may wish to display a popup or perhaps log the action in a file. Again, you need a way to cope with changes; you should be able to perf
问题补充: |
|
2013-05-23 12:21:38
正在翻译,请等待...
|
|
2013-05-23 12:23:18
典型的 GUI 编程是要执行一项行动以回应某些活动 , 如单击或鼠标悬停在文本。 例如 , 如果用户单击“发送”按钮 , 您可能想要显示一弹出式窗口或也许登录操作在文件中。 再次 , 你需要一种方法来应付变化 ; 您应该能够执行的任何反应。 在 JavaFX 中您可以使用 EventHandler 为代表的响应事件的传递到 setOnAction :
|
|
2013-05-23 12:24:58
一个典型的样式在GUI编程是进行行动以回应某一事件例如点击或盘旋在文本。 例如,如果用户点击送按钮,或许您在文件可以希望显示弹出式或采伐行动。 再次,您需要方式应付变动; 您应该能执行所有反应。 在JavaFX您能使用EventHandler通过通过它代表对事件的一个反应对setOnAction :
|
|
2013-05-23 12:26:38
在 GUI 编程的典型模式是在响应某些事件如单击或悬停在文本中执行操作。例如,如果用户单击发送按钮,你不妨显示一个弹出窗口,或者也许在文件中记录的行动。再次,你需要一种方法来应付变化;你应该能够执行任何响应。在 JavaFX 可以使用 EventHandler 通过将它传递给 setOnAction 表示对事件的响应:
|
|
2013-05-23 12:28:18
正在翻译,请等待...
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区