abhinay
07/23/2018, 12:46 PMabhinay
07/23/2018, 12:47 PMtableRowCell {
odd {
and(hover) {
backgroundColor += Color.BLUE
}
}
}
abhinay
07/23/2018, 12:47 PMRob
07/23/2018, 12:48 PMabhinay
07/23/2018, 12:49 PMabhinay
07/23/2018, 12:49 PMabhinay
07/23/2018, 12:58 PMRob
07/23/2018, 1:02 PMabhinay
07/23/2018, 2:09 PMabhinay
07/23/2018, 2:09 PModd
and even
should actually be pseudo-classesabhinay
07/23/2018, 2:09 PMtableRowCell {
and (odd) {
backgroundColor += Color.BLUE
and(hover) {
backgroundColor += Color.YELLOW
}
}
and (even) {
backgroundColor += Color.RED
and(hover) {
backgroundColor += Color.YELLOW
}
}
}
S
07/23/2018, 3:52 PMS
07/23/2018, 3:53 PMcarlw
07/23/2018, 3:57 PMcarlw
07/23/2018, 3:58 PMS
07/23/2018, 3:59 PMGary Tierney
07/23/2018, 4:01 PMselectedFile
?Gary Tierney
07/23/2018, 4:02 PMFile
if IntelliJ won't resolve toURI() https://docs.oracle.com/javase/8/docs/api/java/io/File.html#toURI--amanda.hinchman-dominguez
07/23/2018, 4:14 PMamanda.hinchman-dominguez
07/23/2018, 4:15 PMimg/
folder and: private val tiles = listOf("/img/Tile1.png", "/img/Tile2.png",
"/img/Tile3.png", "/img/Tile4.png", "/img/Tile5.png",
"/img/Tile6.png").observable()
S
07/23/2018, 5:07 PMS
07/23/2018, 5:15 PMGary Tierney
07/23/2018, 5:15 PMselectedFile
isn't a File
object, so what is it declared as?S
07/23/2018, 5:15 PMGary Tierney
07/23/2018, 5:16 PMS
07/23/2018, 5:17 PMGary Tierney
07/23/2018, 5:17 PMif (selectedFile != null) {
myImageView.setImage(selectedFile.toURI().toString());
}
S
07/23/2018, 5:18 PMedvin
07/23/2018, 6:17 PM