styledBox

fun styledBox(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE, vararg styleClass: String, id: String? = null): Box

Create a styled Box.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledBox(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE, vararg styleClass: String, id: String? = null): Box

Add a styled Box to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledBox(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE, vararg styleClass: String, id: String? = null, configuration: Box.() -> Unit): Box

Create a styled Box 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.styledBox(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE, vararg styleClass: String, id: String? = null, configuration: Box.() -> Unit): Box

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