Changes between Version 32 and Version 33 of mvc


Ignore:
Timestamp:
11/20/23 09:57:24 (17 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mvc

    v32 v33  
    1212A 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.
    1313
    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 
     14This 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.
    2115
    2216
    2317== 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.
     18This 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.
    2519
    2620== The Model