styledMediaView

fun styledMediaView(mediaPlayer: MediaPlayer? = null, vararg styleClass: String, id: String? = null): MediaView

Create a styled MediaView.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledMediaView(mediaPlayer: MediaPlayer? = null, vararg styleClass: String, id: String? = null): MediaView

Add a styled MediaView to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledMediaView(mediaPlayer: MediaPlayer? = null, vararg styleClass: String, id: String? = null, configuration: MediaView.() -> Unit): MediaView

Create a styled MediaView 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.styledMediaView(mediaPlayer: MediaPlayer? = null, vararg styleClass: String, id: String? = null, configuration: MediaView.() -> Unit): MediaView

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