styledButton

fun styledButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): Button

Create a styled Button.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

Add a styled Button to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

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

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