Changes between Version 32 and Version 33 of mvc
- Timestamp:
- 11/20/23 09:57:24 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mvc
v32 v33 12 12 A view and controller can, and often are, merged into a single component. For example a slider shows the current value, but the user can also drag the slider; or a checkbox shows the current setting (on or off) while the user can simply click on it to toggle the value. 13 13 14 15 16 {{{#!td style="background: #fee" 17 Currently the MVC is being refactored in order to support redo/undo/history. This will be version 2. For now please stick with the stable 1.X version. 18 }}} 19 20 14 This V2 version also adds history (allowing support for undo/redo) to the models. All models always serve the values matching the current ModelTime. When the time changes to something in the past, the model's value may change accordingly, at which they also issue a change notification. 21 15 22 16 23 17 == Why a toolbox? 24 This toolbox is to help users develop an MVC based GUI. The tools built into Java lack some functionality: while Java provides a ListModel and a TableModel, it lacks other models such as a StringModel. Also java lacks the tools to couple a model that contains a list of values to the keys of a hashmap-model. We need these functionalities when creating compound models.18 This toolbox is to help users develop an MVC based GUI. The standard java lacks some functionality: while Java provides a ListModel and a TableModel, it lacks other models such as a StringModel. Also java lacks the tools to couple a model that contains a list of values to the keys of a hashmap-model and it does not support history. We need these functionalities when creating compound models. 25 19 26 20 == The Model