amanda.hinchman-dominguez
08/23/2018, 2:39 PMsudo apt-get install openjfx
amanda.hinchman-dominguez
08/23/2018, 2:39 PMabhinay
08/23/2018, 2:51 PMbeepdog
08/23/2018, 2:55 PMjschneider
08/23/2018, 2:56 PMjschneider
08/23/2018, 2:57 PMabhinay
08/23/2018, 2:59 PMjschneider
08/23/2018, 3:05 PMjschneider
08/23/2018, 3:05 PMclass RoDemo: View("asdf"){
override val root: Parent = borderpane{
val data = listOf(Instant.now()).observable()
tableview(data) {
readonlyColumn("Millis", Instant::toEpochMilli)
}
}
}
jschneider
08/23/2018, 3:06 PMabhinay
08/23/2018, 3:20 PMcolumn
. Check this:
import tornadofx.*
import java.time.Instant
class RoDemo: View("asdf"){
override val root = borderpane {
val data = listOf(Instant.now()).observable()
tableview(data) {
column("Millis", Instant::toEpochMilli)
}
}
}
which makes me wonder why does it not compile with readonlyColumn
?carlw
08/23/2018, 3:21 PMabhinay
08/23/2018, 3:22 PMreadonlyColumn
expects a property 😄jschneider
08/23/2018, 3:22 PMjschneider
08/23/2018, 3:22 PMcarlw
08/23/2018, 3:23 PMcarlw
08/23/2018, 3:23 PMcarlw
08/23/2018, 3:23 PMabhinay
08/23/2018, 3:24 PMcarlw
08/23/2018, 3:25 PMjschneider
08/23/2018, 3:25 PMabhinay
08/23/2018, 3:26 PMInstant::toEpochMilli
exactly is..carlw
08/23/2018, 3:27 PMabhinay
08/23/2018, 3:27 PMabhinay
08/23/2018, 3:28 PMjschneider
08/23/2018, 3:28 PMcarlw
08/23/2018, 3:28 PMabhinay
08/23/2018, 3:28 PMabhinay
08/23/2018, 3:29 PMcarlw
08/23/2018, 3:29 PM