carlw
11/27/2018, 8:06 PMSpike Baylor
11/27/2018, 8:14 PMShan
11/27/2018, 8:44 PMRuckus
11/27/2018, 8:48 PMSpike Baylor
11/27/2018, 8:59 PMShan
11/27/2018, 9:02 PMShan
11/27/2018, 9:02 PMSpike Baylor
11/27/2018, 9:03 PMjchildress
11/27/2018, 9:13 PMhudsonb
11/28/2018, 3:39 AMAdjustableBorderPane
(hate the name). It acts like a border pane but has invisible grippers allowing you to adjust the size of the top/bottom/left/right panes and supports a slide animation for showing/hiding them. Its in Java (Java 7 even!) but I'd be happy to convert it over to Kotlin if anyone thinks it'd be useful.pike
11/28/2018, 6:06 AMbutton("copy all").action {
val clipboard = Clipboard.getSystemClipboard()
val content = ClipboardContent()
var copyString = table.items[0].propsToCsv()
copyString += table.items.joinToString("\n") {rowItem ->
rowItem.toCsv()
}
content.putString(copyString)
clipboard.setContent(content)
}
pike
11/28/2018, 6:07 AMfun copyTableToClipboard(dataTable: TableView<CsvJsonModel>) {
val clipboard = Clipboard.getSystemClipboard()
val content = ClipboardContent()
var copyString = dataTable.items[0].propsToCsv()
copyString += dataTable.items.joinToString("\n") {rowItem ->
rowItem.toCsv()
}
content.putString(copyString)
clipboard.setContent(content)
}
pike
11/28/2018, 6:09 AMbutton("copy all").action {
copyTableToClipboard(myTable)
}
it throws the error:
Error:(95, 54) Kotlin: Type mismatch: inferred type is TableView<CirclePlotModel!> but TableView<CsvJsonModel> was expectedpike
11/28/2018, 6:13 AMpike
11/28/2018, 6:22 AMfun copyTableToClipboard(dataTable: TableView<out CsvJsonModel>)
Sorry for the wall of text!alex
11/28/2018, 2:18 PMSpike Baylor
11/28/2018, 2:48 PMRuckus
11/28/2018, 3:37 PMSpike Baylor
11/28/2018, 3:40 PMRuckus
11/28/2018, 3:40 PMType!
or (Mutable)Collection<Type!>!
or Array<(out) Type!>!
, those are types that were sent if from interoperation with other languages, and so Kotlin can't tell you for sure if the type is nullable, mutable, or variant, and lets you handle it instead.Ruckus
11/28/2018, 3:40 PMSpike Baylor
11/28/2018, 3:41 PMRuckus
11/28/2018, 3:41 PMRuckus
11/28/2018, 3:41 PMSpike Baylor
11/28/2018, 3:41 PMSergio Casero
11/28/2018, 4:42 PMSpike Baylor
11/28/2018, 4:47 PMalex
11/28/2018, 4:50 PMRuckus
11/28/2018, 4:53 PM