``` class EntryModel(property: ObjectProperty<E...
# tornadofx
k
Copy code
class EntryModel(property: ObjectProperty<Entry>) : ItemViewModel<Entry>(itemProperty = property) {
  val command: StringProperty  = bind(autocommit = true) { item?.commandProperty }
  val output : StringProperty  = bind(autocommit = true) { item?.outputProperty  }
  val error  : BooleanProperty = bind(autocommit = true) { item?.errorProperty   }
}