styledCheckMenuItem

fun styledCheckMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): CheckMenuItem

Create a styled CheckMenuItem.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun MenuItemManager.styledCheckMenuItem(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): CheckMenuItem

Add a styled CheckMenuItem to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

Create a styled CheckMenuItem with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


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

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