Nikky
07/18/2018, 1:17 AMclass DriverTabPane : View() {
private val controller: TabController by inject()
override val root = jfxtabpane {
tabs.bind(controller.list) {
tab(it + "") {
vbox {
label {
text = it
}
}
}
}
controller.selectionModel = selectionModel
}
}
class TabController : Controller() {
lateinit var selectionModel : SingleSelectionModel<Tab>
val list : ObservableList<String> = observableList()
init {
}
}