styledBox
inline 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.
inline fun NodeContainer.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 container.
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 NodeContainer.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 container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.