官术网_书友最值得收藏!

  • qooxdoo Beginner's Guide
  • Rajesh Kumar Bachu Mohamed Raffi
  • 155字
  • 2021-08-20 15:45:08

Event-based rich UI programming

qooxdoo provides complete support for event-based programming. If you have already programmed in QT or Java Swing, you'll find qooxdoo very similar. qooxdoo separates out the view widgets, model classes, and the controllers. Listeners observe the widget all the time and fire the right event based on the action. The action could be a click, a key entry, a selection of an item, mouse over the widget, change of the value in a table cell, and so on. An example of event-based programming is shown in the following diagram:

Event-based rich UI programming

For example, you can add a listener for the Button widget to perform something on the click of a button. You can even set a command, which will be called on the execute action of the button-click event. qooxdoo provides lots of events for various widgets. For example, the List widget has many events such as changeSelection, addItem, removeItem, and so on.

主站蜘蛛池模板: 江门市| 浪卡子县| 萍乡市| 德清县| 通江县| 肇源县| 华蓥市| 洪泽县| 四会市| 措勤县| 定结县| 涟源市| 遂宁市| 英超| 克东县| 博客| 伊吾县| 顺昌县| 山丹县| 连城县| 盱眙县| 江陵县| 宿迁市| 北辰区| 娄底市| 连南| 拉孜县| 古丈县| 友谊县| 衡水市| 汤阴县| 吉安县| 丽江市| 个旧市| 静海县| 象山县| 临高县| 晋江市| 苏州市| 新郑市| 西华县|