h2Of

fun h2Of(value: String): Label

Factory method to create a Label styled as an H2

Return

Label

Parameters

value

The text to place in the Label


fun h2Of(value: ObservableStringValue): Label

Factory method to create a Label styled as an H2 with its Text property bound to an ObservableStringValue

Return

Label

Parameters

value

ObservableStringProperty to bind the Label's Text property to