1.2.0
manuel-mauky
released this
04 May 12:33
·
547 commits
to develop
since this release
This release mainly contains improvements for the beta features ModelWrapper and Commands that where added in the last release. Additionally there are changed for the Notifications mechanism.
Commands (BETA)
Docs: https://github.com/sialcasa/mvvmFX/wiki/Commands
- The
Command
interface now has aprogress
property that is similar to the progress property of JavaFX'sTask
class.
The DelegateCommand is now implemented as a subclass ofService
. Instead of a 'Runnable' it now takes a 'Supplier'
as argument whereAction
is a subclass ofTask<Void>
. (#218 and #225) - The 'Command' has now a property 'notExecutable' which is the negated version of 'executable'. This way binding to the 'disable' property of a Button is easier. (#210)
ModelWrapper (BETA)
Docs: https://github.com/sialcasa/mvvmFX/wiki/ModelWrapper
- In version 1.1.0 the ModelWrapper was creating fields of type
Property<String>
,Property<Integer>
,Property<Number>
and so on.
This makes databinding complicated. In the new release the created type ìsStringProperty
andIntegerProperty
etc. which will simplify data binding a lot. (#211)
Notifications
Docs: https://github.com/sialcasa/mvvmFX/wiki/NotificationCenter