styledLabel

fun styledLabel(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): Label

Create a styled Label.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledLabel(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): Label

Add a styled Label to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledLabel(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: Label.() -> Unit): Label

Create a styled Label with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun NodeManager.styledLabel(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: Label.() -> Unit): Label

Add a styled Label with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.