tornadofx v1.5.7 Release Notes
Release Date: 2016-10-21 // over 7 years ago-
- ๐ Fixed LayoutDebugger not showing debugged scene correctly (https://github.com/edvin/tornadofx/issues/192)
- App.shouldShowPrimaryStage() can be used to initially hide the primary stage
- Node.onDoubleClick handler
- chooseDirectory function
- ListView.bindSelected(itemProperty) and ListView.bindSelected(itemViewModel)
- TableView.bindSelected(itemProperty) and TableView.bindSelected(itemViewModel)
- โ Added ItemViewModel to reduce boiler plate for ViewModels with one source object
- ๐ SortedFilteredList now supports editing writeback to the underlying observable list
- โก๏ธ View.replaceWith now updates scene property to support Live Views (https://github.com/edvin/tornadofx/issues/191)
- ๐ ViewModel bind return value is now optional to support eventually available items
- ViewModel detects changes to the source object and applies to the model counterpart automatically
- ViewModel
bind(autocommit = true) { .. }
option - Mnemonic in Field labels (form -> field -> input.mnemonicTarget())
- โ Added ItemFragment and ListCellFragment. Will add TableCellFragment etc shortly.
- โ Added TreeView.cellDecorator
- Node.hide and Node.show
- Node.toggleClass(class, observableBooleanValue)
- โ Removed cell as
this
forcellCache
. The cell could change, so taking it into account was a mistake. - App MainView parameter can now be a
Fragment
as well asView
- ListView
cellCache
provider to create a cached graphic node per item - Kotlin 1.0.4
- The
di()
delegate no longer calls out to theDIContainer
for every access, effectively caching the lookup - The
fxid()
delegate can now inject any type, not justEventTarget
subclasses - โ Added non-null
onChange
overrides for primitiveObservableValue
s - ๐ Fixed bug with
Node.fade
reversed animations (was also affectingViewTransitions
) - ๐ Deprecated confusing CSS
add
function if favor ofand