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

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.

主站蜘蛛池模板: 都匀市| 凤翔县| 格尔木市| 吐鲁番市| 舟山市| 温泉县| 株洲县| 会宁县| 肃宁县| 高淳县| 滕州市| 海宁市| 蒙城县| 蓝山县| 罗江县| 上思县| 北流市| 吉首市| 桑植县| 清苑县| 台湾省| 盐津县| 陆川县| 太和县| 长子县| 香港| 宁津县| 上林县| 平乐县| 牡丹江市| 娄烦县| 疏勒县| 浠水县| 两当县| 横山县| 金乡县| 天水市| 滁州市| 西宁市| 南安市| 万源市|