tieskedh
09/11/2017, 11:18 PMopen class SimpleView constructor(title: String?, icon: Node?, rootGenerator: View.()-> Parent) : View(title, icon){
constructor(title: String?, rootGenerator: View.()-> Parent) : this(title, null, rootGenerator)
constructor(icon: Node?, rootGenerator: View.()-> Parent) : this(null, icon, rootGenerator)
constructor(rootGenerator: View.()-> Parent) : this(null, null, rootGenerator)
override val root: Parent = rootGenerator(this)
}
this can't break anything, isn't it?