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

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.

主站蜘蛛池模板: 安仁县| 鄂尔多斯市| 思南县| 犍为县| 八宿县| 库尔勒市| 张北县| 昌吉市| 乌苏市| 蒲城县| 庐江县| 曲阳县| 运城市| 延边| 马山县| 杭州市| 恭城| 仪陇县| 赣榆县| 天台县| 寻甸| 博罗县| 卢湾区| 通州市| 堆龙德庆县| 开原市| 杂多县| 获嘉县| 温泉县| 辽宁省| 巫溪县| 永年县| 寻乌县| 碌曲县| 北安市| 菏泽市| 镇远县| 阿克| 准格尔旗| 惠安县| 黄龙县|