tornadofx / tornadofx / javafx.scene.control.Tab

Extensions for javafx.scene.control.Tab

close fun Tab.close(): Unit
closeableWhen fun Tab.closeableWhen(predicate: ObservableValue<Boolean>): Unit
content fun Tab.content(op: Pane.() -> Unit): Node
disableWhen fun Tab.disableWhen(predicate: ObservableValue<Boolean>): Unit
enableWhen fun Tab.enableWhen(predicate: ObservableValue<Boolean>): Unit
hasClass fun Tab.hasClass(cssClass: CssRule): Boolean

Check if this Node has the given type safe css class. Pseudo classes are also supported.

fun Tab.hasClass(className: String): Boolean
hasPseudoClass fun Tab.hasPseudoClass(className: String): Boolean
select fun Tab.select(): <ERROR CLASS>
visibleWhen fun Tab.visibleWhen(predicate: ObservableValue<Boolean>): Unit
whenSelected fun Tab.whenSelected(op: () -> Unit): Unit