styledText

fun styledText(text: String? = null, vararg styleClass: String, id: String? = null): Text

Create a styled Text.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledText(text: String? = null, vararg styleClass: String, id: String? = null): Text

Add a styled Text to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledText(text: String? = null, vararg styleClass: String, id: String? = null, configuration: Text.() -> Unit): Text

Create a styled Text 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.styledText(text: String? = null, vararg styleClass: String, id: String? = null, configuration: Text.() -> Unit): Text

Add a styled Text 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.