abhinay
01/25/2018, 1:53 PMloadFXML()
a custom method?Niranjan Shah
01/25/2018, 1:59 PMabhinay
01/25/2018, 2:04 PMfxml()
abhinay
01/25/2018, 2:13 PMimport javafx.scene.layout.HBox
import tornadofx.App
import tornadofx.View
class MyApp:App(MyView::class)
class MyView: View() {
override val root = loadFXML<HBox>("dummy.fxml")
}
abhinay
01/25/2018, 2:13 PMcarlw
01/25/2018, 2:20 PMcarlw
01/25/2018, 2:23 PMcarlw
01/25/2018, 2:24 PMcarlw
01/25/2018, 2:49 PMNiranjan Shah
01/25/2018, 2:50 PMhestad
01/25/2018, 3:00 PMcarlw
01/25/2018, 3:01 PMhestad
01/25/2018, 3:01 PMhestad
01/25/2018, 3:01 PMcarlw
01/25/2018, 3:02 PMNiranjan Shah
01/25/2018, 3:41 PMNiranjan Shah
01/25/2018, 3:41 PMNiranjan Shah
01/25/2018, 3:41 PMkastork
01/25/2018, 5:01 PMworkspace.headingContainer.removeFromParent()
doesn't seem to be working -- where should one call this method from? (I've been trying init
and onDock
of my workspace subclass.kastork
01/25/2018, 5:07 PMshowHeadingLabel = false
abhinay
01/25/2018, 6:02 PMvalueProperty()
- https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/ComboBoxBase.html#valueProperty--abhinay
01/25/2018, 6:06 PMimport com.jfoenix.controls.JFXButton
import javafx.scene.layout.HBox
import tornadofx.App
import tornadofx.View
class MyApp:App(MyView::class)
class MyView: View() {
override val root = loadFXML<HBox>("dummy.fxml")
val cbList: JFXButton by fxid()
init {
cbList.setOnAction { print("Button Pressed") }
}
}
pike
01/26/2018, 2:54 AMpike
01/26/2018, 2:55 AMpike
01/26/2018, 3:32 AMpike
01/26/2018, 3:36 AMNiranjan Shah
01/26/2018, 7:14 AMNiranjan Shah
01/26/2018, 7:15 AMabhinay
01/26/2018, 7:34 AMhestad
01/26/2018, 8:47 AM